[Bug fortran/93485] ICE in gfc_trans_array_ctor_element, at fortran/trans-array.c:1682
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 7 17:31:28 GMT 2022
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
More information about the Gcc-bugs
mailing list