[Bug tree-optimization/49093] [4.6/4.7 Regression] ICE in vect_enhance_data_refs_alignment() with volatile inside peeled loop
irar at il dot ibm.com
gcc-bugzilla@gcc.gnu.org
Tue May 31 07:42:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49093
Ira Rosen <irar at il dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |irar at il dot ibm.com
--- Comment #3 from Ira Rosen <irar at il dot ibm.com> 2011-05-31 07:31:02 UTC ---
The problem here is that
vol.2_8 ={v} g_324[g_97_22];
is skipped during determination of the vectorization factor, because it has no
uses. The vf is set to 4, and then the analysis fails on the char data-ref.
I think we should just not vectorize when there is a volatile access in a loop.
Is that reasonable?
Thanks,
Ira
More information about the Gcc-bugs
mailing list