SUNDAY, APRIL 19, 2026 GCC DIGEST · OPEN-SOURCE SYSTEMS DAILY VOL. 1 · NO. 109
Late Edition · APRIL 19, 2026 · VOL. 1 · NO. 109
The GCC Digest
— A Daily Record of the GNU Compiler Collection —
gcc Impact 5 / 10

Fix lto-devirt-23.C testcase failure.

The compiler was incorrectly assuming that destructors can't be in construction, leading to a test failure fixed by removing an ineffective check.

The testcase lto-devirt-23.C was failing because the compiler was missing the fact that a type can be in construction. The polymorphic_ctor_dtor_p function was returning false on polymorphic destructors because they have a PURE flag. The check was deemed ineffective and has been removed to resolve the failure.

Filed Under: ltoipadevirtualizationbugfix