http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55362
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pault at gcc dot gnu.org AssignedTo|unassigned at gcc dot |pault at gcc dot gnu.org |gnu.org | --- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> 2013-01-12 16:11:23 UTC --- Applying Tobias' fix to array_check seems to do the job. As to his question about the DIM arg; this and probably many more need such a check. I am surprised that it is not picked up in resolution. ifort gives [pault@localhost pr55789]$ ifort ../pr55362/p*.f90../pr55362/pr55362.f90(3): error #6423: This name has already been used as an external function name. [ERROR_MSG] write(*,*) 'message: ', size(Error_Msg),Error_Msg() -------------------------------^ ../pr55362/pr55362.f90(3): error #6361: An array-valued argument is required in this context. [SIZE] write(*,*) 'message: ', size(Error_Msg),Error_Msg() -------------------------------^ compilation aborted for ../pr55362/pr55362.f90 (code 1)