https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90254
m.cencora at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.cencora at gmail dot com --- Comment #13 from m.cencora at gmail dot com --- Slightly modified example still produces ICE on gcc-10.3 (works in gcc-11 and later) g++ -std=c++17 struct A { A(); A(const A &); }; struct B : A { }; A foo (); int main () { B{foo()}; }