https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42359
Dominique d'Humieres changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42359
--- Comment #3 from Dominique d'Humieres ---
Likely a duplicate of pr78392.
--- Comment #2 from burnus at gcc dot gnu dot org 2010-09-12 09:25 ---
(In reply to comment #1)
> (ii) An automatic array cannot have an initialization expression.
I disagree: Initialization expressions should be allowed (= compile-time
constant) - but specification expressions not.
-
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last recon
--- 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