From a8f48325ac79f3237e0cb79613b8db3057cb0bba Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sat, 6 Nov 2004 20:47:09 +0100 Subject: [PATCH] * g++.dg/opt/nothrow1.C: Use -42 instead of 42. From-SVN: r90189 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/opt/nothrow1.C | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 41b771c..90b6ed8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2004-11-06 Eric Botcazou + * g++.dg/opt/nothrow1.C: Use -42 instead of 42. + +2004-11-06 Eric Botcazou + * gcc.dg/compat/generate-random.c (generate_random_data unsafe_state): Do not use C99 designators. diff --git a/gcc/testsuite/g++.dg/opt/nothrow1.C b/gcc/testsuite/g++.dg/opt/nothrow1.C index fb6c604..a2215ab 100644 --- a/gcc/testsuite/g++.dg/opt/nothrow1.C +++ b/gcc/testsuite/g++.dg/opt/nothrow1.C @@ -16,9 +16,9 @@ int main() } catch (...) { - return 42; + return -42; } } // The catch block should be optimized away. -// { dg-final { scan-tree-dump-times "42" 0 "optimized" } } +// { dg-final { scan-tree-dump-times "-42" 0 "optimized" } } -- 2.7.4