[Bug middle-end/22141] [4.4/4.5/4.6/4.7 Regression] Missing optimization when storing structures
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 12 11:20:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22141
--- Comment #23 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-12 11:20:35 UTC ---
As we have MEM_REF available we can in theory do the combining on the
tree-level
as well (or during gimplification). In fact, as we have the byteswap
detection pass which does not yet handle byte-swapping memory (thus, a
memory destination) it looks like a perfect place to handle this while
also fixing that deficiency (gather sources for a contiguous piecewise
stored memory region of suitable register size/alignment).
More information about the Gcc-bugs
mailing list