https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350
--- Comment #10 from ak at gcc dot gnu.org --- The small test case also fails with gcc 13.0 (although it doesn't have the nested ICE). So it's an old latent bug. gcc version 13.3.1 20240913 (Red Hat 13.3.1-3) (GCC) gcc -fauto-profile=fbdata.afdo gu.cc -O2 -flto gu.cc:10:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 10 | __uniq_ptr_impl::__uniq_ptr_impl; | ^~~~~~~~~~~~~~~ gu.cc:17:37: warning: ‘unique_ptr<T> make_unique() [with T = {anonymous}::gcc_urlifier]’ used but never defined 17 | template <typename T> unique_ptr<T> make_unique(); | ^~~~~~~~~~~ during GIMPLE pass: einline ‘ in pp_format, at pretty-print.cc:1478 15 | unique_ptr(unique_ptr<_Up, _Ep>) : _M_t(0, _Ep()) {} | ^~~~~~~~~~ Please submit a full bug report, with preprocessed source. See <http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/cc3ZB46l.out file, please attach this to your bugreport.