https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65454

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
                 CC|                            |anlauf at gcc dot gnu.org
   Last reconfirmed|2015-03-20 00:00:00         |2021-9-12
             Status|WAITING                     |NEW

--- Comment #5 from anlauf at gcc dot gnu.org ---
F2018 clearly states:

10.1.5.5.1  Interpretation of relational intrinsic operations

The operators <, <=, >, >=, ==, and /= always have the same interpretations as
the operators .LT., .LE., .GT., .GE., .EQ., and .NE., respectively.

We need to handle this.

(The current gfortran code seems to be able to distinguish between "old-style"
and "new-style" and may fail to handle source code such as in this PR.)

Reply via email to