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 Tue, Mar 20, 2007 at 07:59:58PM +0000, Manuel López-Ibáñez wrote:
> 2. To be greater than; surpass: "a horror of the spirit that cannot be
> exceeded at the hour of birth or death" Robert Louis Stevenson.

This is the definition that folks will think of, and the value
is less than a represntable value, rather than greater than.

Your subsequent suggestion to use "truncated to zero" is good.

> Are you suggesting that we emit a warning from the string parser? Do
> we do this  for any other cases? I can give it a try.

No, I suggest that the string parser return an indication of whether
it underflowed.  Node that, currently, the underflow label is used
for both underflow and true zeros.


r~


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