This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]