Commit 2e4aa0a5 by Segher Boessenkool Committed by Segher Boessenkool

ubsan-dg.exp (check_effective_target_fsanitize_undefined): Check if testcases…

ubsan-dg.exp (check_effective_target_fsanitize_undefined): Check if testcases run without errors, not just if they compile.

	* lib/ubsan-dg.exp (check_effective_target_fsanitize_undefined):
	Check if testcases run without errors, not just if they compile.

From-SVN: r219084
parent c4575840
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> 2014-12-26 H.J. Lu <hongjiu.lu@intel.com>
PR target/64409 PR target/64409
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# code, 0 otherwise. # code, 0 otherwise.
proc check_effective_target_fsanitize_undefined {} { proc check_effective_target_fsanitize_undefined {} {
return [check_no_compiler_messages fsanitize_undefined executable { return [check_runtime fsanitize_undefined {
int main (void) { return 0; } int main (void) { return 0; }
} "-fsanitize=undefined"] } "-fsanitize=undefined"]
} }
......
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