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/33162] INTRINSIC functions as ACTUAL argument



------- Comment #9 from jvdelisle at gcc dot gnu dot org  2007-10-23 01:42 -------
The example in Comment #8 is rejected by gfortran because of this bug.  It is
rejected by Lahey:

Diagnostic messages: program name(main)
   2204-S: "SOURCE.F90", line 18, column 6: In the reference to procedure
'sub', the type of actual argument must be the same as that of the
corresponding dummy argument.

There is no type information about external foo so I think this should be
rejected. (Siding with NAG and Lahey as well)


-- 


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


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