diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 41b771c818382f0373db501c4b54a642676cecaa..90b6ed8bda771ef666625e6acb92c7a4a460a81a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-11-06 Eric Botcazou <ebotcazou@libertysurf.fr> + + * g++.dg/opt/nothrow1.C: Use -42 instead of 42. + 2004-11-06 Eric Botcazou <ebotcazou@libertysurf.fr> * 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 fb6c604040848973d38d857f1cba28d0c8c72305..a2215abc249c826da6ae803e832f38098de4533b 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" } }