bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mktime function test can't be passed with gcc 4.3.0


From: Ralf Wildenhues
Subject: Re: mktime function test can't be passed with gcc 4.3.0
Date: Sat, 15 Mar 2008 10:07:13 +0100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Hello Dmitry,

* Dmitry Antipov wrote on Fri, Mar 14, 2008 at 02:37:48PM CET:
>
> mktime() function test can't be passed with gcc 4.3.0. With this
> version of gcc, the
> following loop (which exploits an integer overflow) will never exited
> (with -O2 and above):

As I said, the test has been fixed since in the development version of
Autoconf.

> I would like to see a warning from the compiler here, but
> unfortunately this is not the case for now.

Well, use -Wstrict-overflow=X (and the X=1 case is enabled by -Wall).

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]