This is the mail archive of the gcc-bugs@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]

[Bug fortran/55214] New: Program fail to evaluate where clause


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

             Bug #: 55214
           Summary: Program fail to evaluate where clause
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: pmarguinaud@hotmail.com


LOGICAL :: L (2)
REAL    :: X (2), Y (2)

L (1) = .TRUE.
L (2) = .FALSE.
X (1) = +1
X (2) = -1
Y = 0.

WHERE (L)
  WHERE (SQRT(X)>0)
    Y = 1.
  END WHERE
END WHERE

PRINT *, Y

END


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