https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117901
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org Summary|class_transformational_1.f9 |[ 15 regression] |0 with -O3 and |class_transformational_1.f9 |-fcheck=bounds gives ICE in |0 with -O3 and |make_ssa_name_fn |-fcheck=bounds gives ICE in | |make_ssa_name_fn --- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> --- I am trying to fix this at source. However, diff --git a/gcc/testsuite/gfortran.dg/class_transformational_1.f90 b/gcc/testsuite/gfortran.dg/class_transformational_1.f90 index 77ec24a43c0..3e64f5d91e5 100644 --- a/gcc/testsuite/gfortran.dg/class_transformational_1.f90 +++ b/gcc/testsuite/gfortran.dg/class_transformational_1.f90 @@ -169,7 +169,7 @@ contains end subroutine unlimited_rebar (arg) - class(*) :: arg(:) + class(*), allocatable :: arg(:) ! Not having this allocatable => pr117901 call class_bar (arg) end removes the problem. If I don't get to the source by the end of the day, I will apply the patch as a temporary measure. Paul