[Bug fortran/49659] New: If-and-condition not obeyed using the g77-compiler (Windows 7, 64-bit).

alhoweling at yahoo dot de gcc-bugzilla@gcc.gnu.org
Wed Jul 6 10:26:00 GMT 2011


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

           Summary: If-and-condition not obeyed using the g77-compiler
                    (Windows 7, 64-bit).
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: alhoweling@yahoo.de


Compiling and running the following short sourcecode:

***************************
PROGRAM TEST  
INTEGER A,B,C
LOGICAL M

A=23
B=34
C=55

M=.FALSE.

IF (A.eq.23.AND.B.eq.34.and.C.eq.4.and.M.eqv..FALSE.) THEN
PRINT*, 'yes'
ELSE
PRINT*, 'no'
END IF

END

***************************
gives the following output:

yes



More information about the Gcc-bugs mailing list