https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123773
--- Comment #5 from avieira at gcc dot gnu.org --- I'm now thinking... probably should have added the C++ testcase to the fix for 123016, which I've now committed: https://gcc.gnu.org/g:aa8811570ccb4fde743f56d9fee57dc74972f09a I can confirm I could also trigger the ICE before the patch and it seems to be fixed with the patch. I also noticed I falied to include a change in a part of my comments... so maybe I should do a follow-up with that change and an extra testcase. Either way, Andrew can you check whether this fixes your fortran? I tried to make some changes to the testcase to see if I could get it to trigger the ICE (pre-patch) but no luck here.
