https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114497
Centurion <centurionn009 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |centurionn009 at gmail dot com --- Comment #1 from Centurion <centurionn009 at gmail dot com> --- Looks like P114377 dublicate. Here is same problem with missed TEMPLATE_DECL in condition: parm gets nullptr from DECL_INITIAL, instead of getting TEMPLATE_TEMPLATE_PARM from TREE_TYPE. https://gcc.gnu.org/pipermail/gcc-patches/2024-March/648338.html