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 41b771c8183..90b6ed8bda7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +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): diff --git a/gcc/testsuite/g++.dg/opt/nothrow1.C b/gcc/testsuite/g++.dg/opt/nothrow1.C index fb6c6040408..a2215abc249 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.30.2