[Bug fortran/55099] Surprising but valid 'PROCEDURE attribute conflicts with INTENT attribute' error
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Oct 27 17:29:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55099
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
CC| |burnus at gcc dot gnu.org
Summary|Surprising 'PROCEDURE |Surprising but valid
|attribute conflicts with |'PROCEDURE attribute
|INTENT attribute' error |conflicts with INTENT
| |attribute' error
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-10-27 17:29:00 UTC ---
I don't know whether you'd prefer NAG's message: "Inconsistent usage of
NUM_PROC_2D". Nor I am not sure that Intel's message is much better than
gfortran's or NAG's: "This name has not been declared as an array or a
function."
How about the following (which of course implies that the users didn't intent
to use an array - if they did, Intel's becomes more helpful.)
PathScale/Oracles/Open64/Crayftn have: "NUM_PROC_2D" has the INTENT attribute,
therefore it must not be used as an external function name.
PGI has "Illegal attribute - intent specified for dummy subprogram argument
num_proc_2d"
More information about the Gcc-bugs
mailing list