This is the mail archive of the
mailing list for the GCC project.
[Bug fortran/22495] Different ideas about .true. and .false.
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Nov 2005 15:01:46 -0000
- Subject: [Bug fortran/22495] Different ideas about .true. and .false.
- References: <firstname.lastname@example.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from tkoenig at gcc dot gnu dot org 2005-11-06 15:01 -------
(In reply to comment #10)
> Thomas, can you point to the text in the standard that
> prohibits the equivalence of integer and logical. AFAICT,
> the 4th constraint in 5.5.1, contradicts your assertation.
I was wrong there. What actually happens is that the
integer value becomes undefined on assignment of the
equivalenced logical, and vice versa. This still means
that the program is illegal, of course.