This is the mail archive of the gcc@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: O2 and Overflow


On 04/23/2010 07:35 PM, Andrew Pinski wrote:


Sent from my iPhone

On Apr 23, 2010, at 10:25 AM, Heinz Riener <hriener@student.tugraz.at>
wrote:

[...]

Signed interger overflow is undefined. Use -fwrapv or -fno-strict-overflow if you want gcc to behave as signed interger overflow being defined.


Yes, that's what I was looking for.


Thank you all.

Regards,
Heinz


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