diff mbox

Fix PR48753

Message ID 20110426133210.GH17079@tyan-ft48-01.lab.bos.redhat.com
State New
Headers show

Commit Message

Jakub Jelinek April 26, 2011, 1:32 p.m. UTC
On Tue, Apr 26, 2011 at 12:02:38PM +0200, Richard Guenther wrote:
> 
> Value-profiling now creates proper integer constants.

This still fails on 32-bit HWI hosts, like i686-linux.

Fixed thusly, regtested on x86_64-linux and i686-linux,
committed to trunk:

2011-04-26  Jakub Jelinek  <jakub@redhat.com>

	PR testsuite/48753
	* gcc.dg/tree-prof/val-prof-2.c: Adjust for 32-bit HWI.



	Jakub
diff mbox

Patch

--- gcc/testsuite/gcc.dg/tree-prof/val-prof-2.c	(revision 172965)
+++ 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\]* \\+ 4294967295" "optimized"} } */
+/* { dg-final-use { scan-tree-dump "n_\[0-9\]* \\+ (4294967295|0x0*ffffffff)" "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" } } */