https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076
Bug ID: 65076 Summary: [5 Regression] 16% tramp3d-v4.cpp compile time regression Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: hubicka at gcc dot gnu.org Trunk build with --enable-checking=release and LTO/PGO is currently ~16% slower when compiling tramp3d-v4.cpp compared to 4.9.: Trunk: markus@x4 ~ % time g++ -w -Ofast tramp3d-v4.cpp g++ -w -Ofast tramp3d-v4.cpp 25.92s user 0.35s system 99% cpu 26.303 total 4.9: markus@x4 ~ % time g++ -w -Ofast tramp3d-v4.cpp g++ -w -Ofast tramp3d-v4.cpp 21.56s user 0.36s system 99% cpu 21.963 total It looks like r219452 is the culprit. phase opt and generate : 19.43 (87%) usr 1.44 (71%) sys 20.88 (85%) wall 674052 kB (64%) ggc vs. phase opt and generate : 23.69 (89%) usr 1.51 (70%) sys 25.20 (87%) wall 710029 kB (66%) ggc