BUG: assuming signed overflow does not occur when simplifying conditional to constant

Florian Weimer fw@deneb.enyo.de
Sat Dec 29 20:21:00 GMT 2012


* Bruce Korb:

> Hi Florian,
>
> On Sat, Dec 29, 2012 at 2:38 AM, Florian Weimer <fw@deneb.enyo.de> wrote:
>>> ../../autoopts/configfile.c: In function 'intern_file_load':
>>> ../../autoopts/configfile.c:1025:12: error: assuming signed overflow does not occur \
>>>     when simplifying conditional to constant [-Werror=strict-overflow]
>>
>> I can't reproduce this.  Can you post a minimal example that actually
>> shows this warning?
>
> Not easily.  git clone git://git.savannah.gnu.org/autogen.git

Uhm, I get:

configure.ac:30: error: AC_INIT should be called with package and version arguments

> I'd have to prune code until I can't prune more.

Preprocessed sources would be helpful.  It seems that the header file
I need is generated and is not valid C99 without suitable preprocessor
definitions, so I can't get to this point myself.



More information about the Gcc mailing list