[Bug tree-optimization/48571] [4.5/4.6/4.7 Regression] Missed data-dependence for (bogus?) reconstructed array-refs
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 12 12:25:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48571
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-12 12:24:46 UTC ---
To also fail for 64bit change it to
for (i = 1; i < 624; ++i)
{
__SIZE_TYPE__ ii = (__SIZE_TYPE__)i + ((__SIZE_TYPE__)-4)/4;
*(unsigned int *)((void *)c + (__SIZE_TYPE__)i * 4)
= 2 * *(unsigned int *)((void *)c + ii * 4);
}
to prevent fold from pulling the multiplication inside.
More information about the Gcc-bugs
mailing list