From cfa81d8af3b4e93ed7b9e3988dc50058a9ffe834 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Tue, 25 Apr 2006 15:38:32 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/tree-prof/val-prof-2.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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" } } */ -- 2.30.2