Check if testcases run without errors, not just if they compile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219084
138bc75d-0d04-0410-961f-
82ee72b054a4
+2014-12-27 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * lib/ubsan-dg.exp (check_effective_target_fsanitize_undefined):
+ Check if testcases run without errors, not just if they compile.
+
2014-12-26 H.J. Lu <hongjiu.lu@intel.com>
PR target/64409
# code, 0 otherwise.
proc check_effective_target_fsanitize_undefined {} {
- return [check_no_compiler_messages fsanitize_undefined executable {
+ return [check_runtime fsanitize_undefined {
int main (void) { return 0; }
} "-fsanitize=undefined"]
}