This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/22141] [4.4/4.5/4.6/4.7 Regression] Missing optimization when storing structures


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]