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/49659] New: If-and-condition not obeyed using the g77-compiler (Windows 7, 64-bit).


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


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