------- Comment #1 from burnus at gcc dot gnu dot org 2010-09-09 05:35 ------- I am not sure how to improve this (internally).
NAG also prints: f95 hjf.f90 Error: hjf.f90, line 26: Inconsistent usage of CURVE detected at )@% Error: hjf.f90, line 26: Component of function reference detected at )@% However, the error location could be better - instead of pointing to the NAMELIST line, one could - as NAG, ifort and g95 do - point to the PRINT line, e.g. g95: print *, curve(1)%symbol%typee 1 Error: PROCEDURE attribute conflicts with NAMELIST attribute in 'curve' at (1) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45608