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/40678] Using a function as variable: ICE with 4.3, accepts invalid with 4.4/4.5


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)


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