This is the mail archive of the gcc-help@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]

Re: Surprisingly bad code generated near char*


On 18/08/16 19:54, Avi Kivity wrote:
> I replicated it on Fedora 24's gcc; in fact -O2 code is worse (but -O3 
> is fine):

So -O3 is fine; O2 isn't doing the analysis to merge the stores.  No bug.

Andrew.


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