Commit cfa81d8a by Richard Guenther Committed by Richard Biener

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
parent 1f263074
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> 2006-04-25 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.dg/20060425-1.c: New testcase. * gcc.dg/20060425-1.c: New testcase.
...@@ -26,7 +26,7 @@ main () ...@@ -26,7 +26,7 @@ main ()
/* { dg-final-use { scan-tree-dump "Mod power of 2 transformation on insn" "tree_profile"} } */ /* { 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 /* This is part of code checking that n is power of 2, so we are sure that the transformation
didn't get optimized out. */ 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 { scan-tree-dump-not "Invalid sum" "optimized"} } */
/* { dg-final-use { cleanup-tree-dump "optimized" } } */ /* { dg-final-use { cleanup-tree-dump "optimized" } } */
/* { dg-final-use { cleanup-tree-dump "tree_profile" } } */ /* { dg-final-use { cleanup-tree-dump "tree_profile" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment