[Bug fortran/122046] [14/15/16 Regression] ICE in is_illegal_recursion when a TBP is used to specify the bounds of a dummy argument

albert at tugraz dot at gcc-bugzilla@gcc.gnu.org
Tue Mar 10 23:31:06 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122046

--- Comment #6 from Christopher Albert <albert at tugraz dot at> ---
Created attachment 63892
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63892&action=edit
Proposed testcase: ICE in is_illegal_recursion with TBP bounds

The reproducer in comment 0 compiles cleanly on current trunk (GCC 16), fixed
by r16-6764-g33862166186. Attaching a testcase to prevent future regressions.
Can this be closed as FIXED?


More information about the Gcc-bugs mailing list