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/24406] EQUIVALENCE broken in 32-bit code with optimization -O2



------- Comment #3 from kargl at gcc dot gnu dot org  2005-10-17 18:00 -------
The code is illegal, and therefore gfortran can do anything
it wants (including start WW III).  

(1) rteps is never defined, so it can't be reference in the IF
    statement.

(2) Even if rteps was defined prior to the assignments of irt(1) and
    irt(2), rteps would become undefined via 14.7.6(1) of the standard.

(3) The use of BOZ literal constants here is nonstandard although
    gfortran may permit its use in this manner (I haven't checked).


-- 


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


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