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/41603] [-fwhole-file] Add diagnostic for assumed-length character function



------- Comment #3 from burnus at gcc dot gnu dot org  2009-10-06 15:01 -------
(In reply to comment #2)
> If the latter is the correct reading then one needs to have an implicit
> interface with a character length (which is not "*, cf. PR 41604), but using
> an explicit interface is not allowed.

That's also in line with NAG f95. If one replaces the interface block by
         external assumed_len
         character(4) assumed_len
NAG f95 compiles without error.

("ifort -warn all" still gives the same bogus warning as in comment 0. The
warning for the related but different construct at PR 41604 seems to be correct
and it is only printed by ifort.)


-- 


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


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