This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR48753
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 26 Apr 2011 12:02:38 +0200 (CEST)
- Subject: [PATCH] Fix PR48753
Value-profiling now creates proper integer constants.
Installed.
Richard.
2011-04-26 Richard Guenther <rguenther@suse.de>
PR testsuite/48753
* gcc.dg/tree-prof/val-prof-2.c: Adjust.
Index: gcc/testsuite/gcc.dg/tree-prof/val-prof-2.c
===================================================================
--- gcc/testsuite/gcc.dg/tree-prof/val-prof-2.c (revision 172953)
+++ gcc/testsuite/gcc.dg/tree-prof/val-prof-2.c (working copy)
@@ -26,7 +26,7 @@ main ()
/* { dg-final-use { scan-ipa-dump "Mod power of 2 transformation on insn" "tree_profile_ipa" } } */
/* 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_\[0-9\]* \\+ 0xffff" "optimized"} } */
+/* { dg-final-use { scan-tree-dump "n_\[0-9\]* \\+ 4294967295" "optimized"} } */
/* { dg-final-use { scan-tree-dump-not "Invalid sum" "optimized"} } */
/* { dg-final-use { cleanup-tree-dump "optimized" } } */
/* { dg-final-use { cleanup-ipa-dump "tree_profile_ipa" } } */