From: Segher Boessenkool Date: Sat, 27 Dec 2014 16:36:20 +0000 (+0100) Subject: ubsan-dg.exp (check_effective_target_fsanitize_undefined): Check if testcases run... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e4aa0a5016c595477c0638765b6ceef8e0fb3c0;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3725770050c..ec4d75ea948 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-12-27 Segher Boessenkool + + * 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 PR target/64409 diff --git a/gcc/testsuite/lib/ubsan-dg.exp b/gcc/testsuite/lib/ubsan-dg.exp index 52a13e2bb15..ca1e593b49c 100644 --- a/gcc/testsuite/lib/ubsan-dg.exp +++ b/gcc/testsuite/lib/ubsan-dg.exp @@ -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"] }