> -----Original Message----- > From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On > Behalf Of Andrew Haley > Sent: Tuesday, August 20, 2013 1:06 PM > To: Brian Budge > Cc: GCC-help > Subject: Re: bad optimization > > On 08/20/2013 07:34 PM, Brian Budge wrote: > > Is this an example of undefined behavior, or should I file a bug? > > It's an example of undefined behavior. No bug. > > Andrew. For the ignorant (me), can you explain why it's undefined? Andy