http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56887



             Bug #: 56887

           Summary: Test for equality of reals now flagged with a warning

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: fortran

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: fkrogh#g...@mathalacarte.com





This is not a bug, but is a nuisance.  I like to compile with  -Wall -Wextra

and after starting to use 4.8.0, tests for equality between reals is flagged

with a warning.  Perhaps you consider it a bad habit to assign small integer

values (usually 0) to real variables and and occasionally test for equality on

those.  For me this warning is a nuisance, and I would like a way to turn it

off without losing the benefits of -WALL and -Wextra.  Alternatively just have

it work as it did in the 4.7 series.

Thanks,

   Fred

Reply via email to