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

--- Comment #3 from Harald Anlauf <anlauf at gcc dot gnu.org> ---
(In reply to Steve Kargl from comment #2)
> There may still be an issue in that the variable is an
> unallocated allocated option argument.  I cannot remember
> if F2023 now permits the argument to be allocated and
> then assigned the status value.

I was thinking the same.  But we also ICE for

  integer :: stat = 0

which is clearly valid code.

Reply via email to