http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46982

--- Comment #5 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Dominique d'Humieres from comment #4)
> > ... So I think that the code in comment #0 is not legal.
> 
> Then, should not this PR closed as INVALID?

Yes, close as INVALID.

----------------------

For the record: NAG Fortran Compiler Release 5.3.1(928) says

SOMETHING is not permitted in an initialisation expression


and xlf 14.01.0000.0003 complains:

Variable something_array was declared as array of type ADJUSTABLE.  This type
of array is not permitted in a main program.


Only pgi 13.4-0 accepts it, but I believe that it shouldn't.

Reply via email to