[Bug middle-end/57748] [4.7/4.8/4.9 Regression] ICE when expanding assignment to unaligned zero-sized array

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Thu Sep 19 09:03:00 GMT 2013


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

--- Comment #39 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Martin Jambor from comment #37)
> In order to use movmisalign_optab
> instructions when we can, we should probably only do it if tem is a
> structure with a zero sized array.

I do also see possible problems with volatile accesses here.
If we do not really need the whole structure reading everything
would be wrong.



More information about the Gcc-bugs mailing list