[Bug debug/96729] [11 Regression] slow compile with `-g -O3` since r11-39-gf9e1ea10e657af9f
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 25 19:59:27 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96729
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 49121
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49121&action=edit
gcc11-pr96729.patch
Untested fix for the next real insn caching.
$ time ./cc1.vanilla -quiet -g -O3 pr96729.c -dA
real 0m2.756s
user 0m2.728s
sys 0m0.022s
$ time ./cc1 -quiet -g -O3 pr96729.c -dA
real 0m1.040s
user 0m1.018s
sys 0m0.020s
and the generated assembly is identical. The times are with -O0 built
debugging cc1, so I really can't reproduce spending 60s on that, that would
need extremely slow machine.
More information about the Gcc-bugs
mailing list