From: Richard Guenther Date: Tue, 25 Apr 2006 15:38:32 +0000 (+0000) Subject: val-prof-2.c: Check for n + ffff rather than n + -1. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfa81d8af3b4e93ed7b9e3988dc50058a9ffe834;p=gcc.git val-prof-2.c: Check for n + ffff rather than n + -1. 2006-04-25 Richard Guenther * gcc.dg/tree-prof/val-prof-2.c: Check for n + ffff rather than n + -1. From-SVN: r113252 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f29ab274c5e..6db2d342c28 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-04-25 Richard Guenther + + * gcc.dg/tree-prof/val-prof-2.c: Check for n + ffff rather + than n + -1. + 2006-04-25 Andreas Krebbel * gcc.dg/20060425-1.c: New testcase. diff --git a/gcc/testsuite/gcc.dg/tree-prof/val-prof-2.c b/gcc/testsuite/gcc.dg/tree-prof/val-prof-2.c index 49a98e35958..7cefcfc7d81 100644 --- a/gcc/testsuite/gcc.dg/tree-prof/val-prof-2.c +++ b/gcc/testsuite/gcc.dg/tree-prof/val-prof-2.c @@ -26,7 +26,7 @@ main () /* { dg-final-use { scan-tree-dump "Mod power of 2 transformation on insn" "tree_profile"} } */ /* This is part of code checking that n is power of 2, so we are sure that the transformation didn't get optimized out. */ -/* { dg-final-use { scan-tree-dump "n \\+ \\-1" "optimized"} } */ +/* { dg-final-use { scan-tree-dump "n \\+ ffff" "optimized"} } */ /* { dg-final-use { scan-tree-dump-not "Invalid sum" "optimized"} } */ /* { dg-final-use { cleanup-tree-dump "optimized" } } */ /* { dg-final-use { cleanup-tree-dump "tree_profile" } } */