[Bug fortran/42359] ICEs with specification function and init expression
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 29 18:09:00 GMT 2009
------- Comment #1 from pault at gcc dot gnu dot org 2009-12-29 18:09 -------
(In reply to comment #0)
I believe that this code is doubly invalid:
(i) You cannot have an automatic array in the main program; and
(ii) An automatic array cannot have an initialization expression.
Both g95 and ifort report one or both of the errors.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42359
More information about the Gcc-bugs
mailing list