val-prof-2.c: Check for n + ffff rather than n + -1.

2006-04-25  Richard Guenther  <rguenther@suse.de>

        * gcc.dg/tree-prof/val-prof-2.c: Check for n + ffff rather
        than n + -1.

From-SVN: r113252
This commit is contained in:
Richard Guenther 2006-04-25 15:38:32 +00:00 committed by Richard Biener
parent 1f263074ea
commit cfa81d8af3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-04-25 Richard Guenther <rguenther@suse.de>
* gcc.dg/tree-prof/val-prof-2.c: Check for n + ffff rather
than n + -1.
2006-04-25 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.dg/20060425-1.c: New testcase.

View file

@ -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" } } */