https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120795
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This might be slightly smaller, (removes c++20 specific stuff) (I can't test it with the failing case): ``` int a; void b(); struct e { int ab; int d() { return ab; } }; struct f { e g; auto d() { return g.d(); } }; template <typename h> struct i : h { f j; template <typename ac> int ad(ac) { unsigned char k = j.d(); a = __builtin_ia32_bzhi_di(1, k); b(); return a; } }; struct l { void af(); }; struct n { void ap() { at.af(); at.ad(1); } i<l> at; }; void f() { n b; b.ap(); } ```