https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119305
Bug ID: 119305 Summary: arm-none-eabi internal compiler error: in add_to_same_comdat_group, at symtab.cc:492 Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: patrick.huentelmann at gmail dot com Target Milestone: --- Created attachment 60769 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60769&action=edit self-contained example When constexpr instantiating a derived class from a templated based with a constexpr virtual destructor a internal compiler error is triggered when compiling using arm-none-eabi-g++ (14.2.0). See the attached ccBPYDhs.out for the preprocessed source of a self-contained example that triggers the ICE. Source is compiled using: arm-none-eabi-g++ --std=c++23 -O -c sce.cc