[Bug middle-end/52436] BIT_FIELD_REF <MEM_REF <>> should be canonicalized for non-bitfield accesses

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 1 15:15:00 GMT 2013


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

--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> 2013-04-01 15:14:59 UTC ---
Created attachment 29767
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29767
patch

This patch may be a bit too strong. In particular, it breaks
gcc.dg/vect/nodump-forwprop-22.c (although we might consider that it is
forwprop that is too weak). Also, it doesn't put exactly __m128i* in the
MEM_REF but instead long long* (s_1m* would be easy as well, but I don't know
what property of __m128i makes it the right type so I can't teach that to the
compiler). The forwprop bit is for PR55266 and not strictly necessary here.



More information about the Gcc-bugs mailing list