https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117516
Bug ID: 117516 Summary: [12/13/14/15 Regression] compile time hog figuring out has flexarrays Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Created attachment 59571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59571&action=edit shell script to create structs referencing other structs Take the attached shell script to create simple structs. The more structs inside structs you have create a quadratic compile time increase. forward from: https://hachyderm.io/@feedable@im-in.space/113409161672076847 [apinski@xeond2 upstream-gcc-isel]$ time g++ t24.c real 0m2.121s user 0m2.059s sys 0m0.019s [apinski@xeond2 upstream-gcc-isel]$ time g++ t22.c real 0m0.601s user 0m0.555s sys 0m0.021s This started with r6-5791-g7e9a3ad30076ad .