[Bug c/104468] with -O -g, quadratic compile time of function with __attribute__(("00")) that passes large structs by value
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 9 15:09:44 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104468
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |12.0
Status|UNCONFIRMED |NEW
Last reconfirmed| |2022-02-09
Keywords| |compile-time-hog,
| |needs-bisection
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Seems to have been fixed on trunk?
rguenther@ryzen:/tmp/obj/gcc> /usr/bin/time ~/install/gcc-12/usr/local/bin/gcc
-S t.c -O -g -fno-checking
0.02user 0.00system 0:00.06elapsed 55%CPU (0avgtext+0avgdata 31952maxresident)k
65632inputs+0outputs (76major+2504minor)pagefaults 0swaps
rguenther@ryzen:/tmp/obj/gcc> /usr/bin/time gcc-11 -S t.c -O -g
2.12user 0.00system 0:02.13elapsed 99%CPU (0avgtext+0avgdata 24644maxresident)k
0inputs+0outputs (0major+2993minor)pagefaults 0swaps
Confirmed on the branch.
More information about the Gcc-bugs
mailing list