[Bug fortran/108872] ICE in main_block_label, missing label when assigning a derived type whose component has a defined assignment
trnka at scm dot com
gcc-bugzilla@gcc.gnu.org
Fri Sep 12 15:07:45 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108872
--- Comment #3 from Tomáš Trnka <trnka at scm dot com> ---
(In reply to anlauf from comment #2)
> It appears that the testcase in comment#0 does no longer fail since
> at least 13.3.0. It still crashes with 12.5.0.
You're right, I just rechecked with all releases of GCC 10-15:
10.1.0 up to and including 12.5.0 crash with this ICE
13.1.0 up to and including 15.2.0 work correctly
So this can be closed as fixed. I can easily run a bisect to find the exact
commit fixing this if you'd like to know.
More information about the Gcc-bugs
mailing list