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
This commit is contained in:
parent
c457584008
commit
2e4aa0a501
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# 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"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue