This is the mail archive of the gcc-patches@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: PR 23572 warnings for out of range floating-point constants


On 22/03/07, Richard Henderson <rth@redhat.com> wrote:
On Wed, Mar 21, 2007 at 09:00:09PM +0000, Manuel López-Ibáñez wrote:
> * c-lex.c (interpret_float): On overflow, emit pedantic warning if
> infinities not supported, otherwise emit warning if -Woverflow. On
> underflow, emit warning if -Woverflow.
> * real.c (real_from_string): Return -1 if underflow, +1 if overflow
> and 0 otherwise.
> * real.h (real_from_string): Update declaration.

Ok.

:REVIEWMAIL:


Thanks! However, does this mean that the testcases are OK? I only tested on i686-pc-linux-gnu

Manuel.


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