[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 08:36:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49093

--- Comment #5 from Ira Rosen <irar at il dot ibm.com> 2011-05-31 08:30:49 UTC ---
(In reply to comment #4)

> I think that's reasonable for 4.6.  But we don't need to make
> data-ref analysis fail just because of volatile references - we for
> example can easily unroll a loop with volatile loads/stores.
> 
> Of course this case seems to be special - how do we deal with
> stmts with no uses during vectorization?  Or do we assume
> they don't happen because usually DCE gets rid of them?

We ignore them. But this is under the assumption that they don't have memory
accesses.

Ira

> 
> Richard.



More information about the Gcc-bugs mailing list