[Bug fortran/35348] g77 fails to warn critical real/complex assignment errors

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 24 12:23:00 GMT 2008



------- Comment #1 from fxcoudert at gcc dot gnu dot org  2008-02-24 12:22 -------
g77 is not supported any more; starting with GCC 4.0.0, it was replaced by
gfortran. Cygwin doesn't yet offer gfortran, so you'll have to ask them to do
so and/or download unofficial binaries from
http://gcc.gnu.org/wiki/GFortranBinaries.

For your problem: I think assignment of a complex value to a real variable is
valid Fortran, and behaves as you'd expect (assigning real part of the complex
value). The second issue is real, but hard to diagnose: it should be
incorporated in gfortran starting with 4.4.0, which is under development.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list