[Bug fortran/92873] ICE in unmodified_parm_or_parm_agg_item, at ipa-fnsummary.c:1166
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Dec 22 20:44:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92873
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gcc dot gnu.org
--- Comment #2 from anlauf at gcc dot gnu.org ---
Adding a declaration of sub as elemental seems to avoid the ICE:
elemental subroutine sub (x)
character(*), intent(in) :: x
end subroutine sub
whereas a non-elemental version does not help:
subroutine sub (x)
character(*), intent(in) :: x(:)
end subroutine sub
More information about the Gcc-bugs
mailing list