https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105980
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |andi-gcc at firstfloor dot org, | |marxin at gcc dot gnu.org Last reconfirmed| |2022-06-16 Ever confirmed|0 |1 --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Reduced to something like: struct A { virtual ~A(); }; struct B : virtual A {}; void bar() { B(); } It's there since the beginning as we emitted an invalid assembly: /tmp/ccw0I6Qv.s:178: Error: `.LTHUNK0@GOTOFF(%bh)' is not a valid base/index expression /tmp/ccw0I6Qv.s:235: Error: `.LTHUNK1@GOTOFF(%bh)' is not a valid base/index expression