Commit 5baa2a43 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot

testsuite: Disable derefnull when built with LLVM

LLVM does not guarantee any particular semantics when dereferencing null
pointers. Consequently, this test actually passes when built with the
LLVM backend.
parent 9ce3ba68
Pipeline #14099 passed with stages
in 645 minutes and 59 seconds
......@@ -23,10 +23,10 @@ def normalise_address(str):
[# LLVM Optimiser considers dereference of a null pointer
# undefined and marks the code as unreachable which means
# that later optimisations remove it altogether.
[# The LLVM backend in particular does not guarantee any particular
# behavior on null dereference (similar to #10332).
when(not(have_ncg()), skip),
# SIGSEGV on Linux (which we make the default)
# Apparently the output can be different on different
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment