[PING^4] PR 23572 warnings for out of range floating-point constants

Manuel López-Ibáñez lopezibanez@gmail.com
Thu Mar 1 21:03:00 GMT 2007

On 01/03/07, Joseph S. Myers <joseph@codesourcery.com> wrote:
> On Thu, 1 Mar 2007, Manuel López-Ibáñez wrote:
> > Still pending resolution:
> > http://gcc.gnu.org/ml/gcc-patches/2007-02/msg00921.html
> I do not see what is supposed to be resolved by me.  I have already stated
> which cases are overflow or underflow (those arising from conversion of
> preprocessing tokens to tokens) and which are different and should be
> under -Wconversion (those arising from conversion of a value from one type
> to another), and which of the former should be pedwarns and which
> shouldn't.  I'll defer to a diagnostics maintainer on whether there should
> be separate -Woverflow and -Wunderflow.

Yes, you are right, the decision is whether there should be a separate
-Woverflow and -Wunderflow. Thanks for the clarification. Sorry for
the inconvenience.


More information about the Gcc-patches mailing list