https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112678
Bug ID: 112678 Summary: Massive slowdown of compilation time with PGO Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: fkastl at suse dot cz CC: hubicka at gcc dot gnu.org Target Milestone: --- Between g:37183018134049a7 and g:af7fa3135b6b046f there is a big increase of compilation time when compiling with profile guided optimization. Happens on both O2 and Ofast with lto both disabled or enabled on x86_64 machines and aarch64 machine. Some plots that show this: https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=474.110.8 (380% slowdown) https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=589.337.8 (700% slowdown) https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=286.407.8 (660% slowdown) All plots show compilation times of SPEC benchmarks.