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

G. Steinmetz <gs...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code

--- Comment #1 from G. Steinmetz <gs...@t-online.de> ---


More variants :


$ cat z2.f90
program p
   integer, allocatable :: a(1:)
   integer :: b(1) = lbound(a)
   integer :: c(1) = ubound(a)
end


$ cat z3.f90
program p
   integer, allocatable :: a(1)
   integer :: b(1) = lbound(a)
   integer :: c(1) = ubound(a)
end


$ cat z4.f90
program p
   integer, allocatable :: a(1)
   integer :: b = lbound(a)
   integer :: c = ubound(a)
end


$ cat z5.f90
program p
   integer, allocatable :: a(1:)
   integer :: b, c
   b = lbound(a)
   c = ubound(a)
end

Reply via email to