[Bug fortran/40678] Using a function as variable: ICE with 4.3, accepts invalid with 4.4/4.5

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 3 07:08:00 GMT 2011


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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |janus at gcc dot gnu.org

--- Comment #3 from janus at gcc dot gnu.org 2011-11-03 07:07:34 UTC ---
The program is still accepted without error with 4.6 and 4.7 trunk.

However,

print *,sunshine

triggers the expected error:

  print *,sunshine
                  1
Error: Function 'sunshine' requires an argument list at (1)



More information about the Gcc-bugs mailing list