https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37131

--- Comment #25 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #24)
> I wonder if the above code is valid Fortran.

y is not associated, so not suitable for passing as ARRAY argument to LBOUND:

ARRAY
shall be an array of any type. It shall not be an unallocated allocatable
variable or a pointer that is not associated.

Reply via email to