------- Comment #1 from burnus at gcc dot gnu dot org 2007-02-20 15:59 ------- INTEGER FUNCTION F1() NAMELIST /NML/ F1 is rejected: NAMELIST /NML/ F1 1 Error: PROCEDURE attribute conflicts with NAMELIST attribute in 'f1' at (1)
I didn't check yet whether this is correct; however, g95 and nagf95 accept it whereas ifort rejects it ("A function result is not valid in this context"). -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu dot | |org Keywords| |rejects-valid Summary|incorrect error message for |Rejects function f1; |valid code |namelist /nml/ f1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30878