[Bug c/56113] out of memory when compiling a function with many goto labels (50k > )
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 9 12:49:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56113
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ian at gcc dot gnu.org
--- Comment #35 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #34)
> GCC 8 takes 400MB and 11s at -O1 for 6000 and 3.5GB and 899ss for 60000
> where it first runs into the mentioned C parser issue (update_label_decls).
>
> Time variable usr sys
> wall GGC
> phase parsing : 733.99 ( 82%) 5.93 ( 60%) 739.94 (
> 81%) 273812 kB ( 10%)
> phase opt and generate : 165.08 ( 18%) 3.98 ( 40%) 169.07 (
> 19%) 2576743 kB ( 90%)
> parser function body : 726.43 ( 81%) 5.44 ( 55%) 732.53 (
> 81%) 191868 kB ( 7%)
> alias stmt walking : 17.95 ( 2%) 1.12 ( 11%) 19.28 (
> 2%) 1875 kB ( 0%)
> tree PTA : 14.61 ( 2%) 0.10 ( 1%) 14.73 (
> 2%) 4219 kB ( 0%)
> TOTAL : 899.07 9.94 909.03
> 2851811 kB
> 899.07user 10.04system 15:09.13elapsed 99%CPU (0avgtext+0avgdata
> 3579512maxresident)k
> 0inputs+39984outputs (0major+1276027minor)pagefaults 0swaps
>
> Re-categorizing.
Ian and Joseph are the ones doing the implementation (which is just
for a diagnostic btw).
More information about the Gcc-bugs
mailing list