* lib/ubsan-dg.exp (check_effective_target_fsanitize_undefined):
Check if testcases run without errors, not just if they compile.
From-SVN: r219084
+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"]
}