------- 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.


-- 


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

Reply via email to