https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91471
--- Comment #2 from Sameeran Joshi ---
(In reply to kargl from comment #1)
> I have a patch that prevents the ICE. Remove ICE-on-valid-code
> tag as the code is invalid.
It fails when a value is assigned to the allocated space:
program dynamic
: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: SameeranJayant.Joshi at amd dot com
Target Milestone: ---
I can again reproduce the bug
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68283)
on trunk(checked on godbolt