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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #3 from kargl at gcc dot gnu.org ---
This appears to be fixed on 12.0.1.  The z1.f90 testcase prints 3, and the
z1.f90 testcase prints 1 2.

Z1.f90 is converted to a suitable testcase by 

! { dg-do run }
program p
   integer :: n = 2
   associate (i => n)
      if (sum([(i, i=1,n)]) /= 3) stop 1
   end associate
end

Reply via email to