This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC optimization bug?
- From: Andrew Haley <aph at redhat dot com>
- To: Lee Duhem <lee dot duhem at gmail dot com>, anubhav <anubhav at cse dot iitb dot ac dot in>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 17 Jan 2017 10:29:34 +0000
- Subject: Re: GCC optimization bug?
- Authentication-results: sourceware.org; auth=none
- References: <8bd91f0702cba1bb8ea712e572a52c3b@cse.iitb.ac.in> <CAOSer0CpSKoCZuPT8ePdVEKm52cq-3=F_8b14=Ev-UzraNfuCA@mail.gmail.com>
On 17/01/17 10:20, Lee Duhem wrote:
> In C, integer overflow is an undefined behavior.
-fno-strict-overflow is supposed to fix that.
Andrew.