https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63155

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
            Summary|[6/7/8/9 Regression] memory |[6/7/8 Regression] memory
                   |hog                         |hog

--- Comment #33 from Richard Biener <rguenth at gcc dot gnu.org> ---
So on trunk for the original testcase I now see

> /usr/bin/time ./cc1 -quiet testunity_Runner.i -std=c99
2.70user 0.16system 0:02.86elapsed 100%CPU (0avgtext+0avgdata
427672maxresident)k
0inputs+504outputs (0major+106295minor)pagefaults 0swaps

while on the same machine using GCC 4.8:

> /usr/bin/time /space/rguenther/install/gcc-4.8.5/bin/gcc -S 
> testunity_Runner.i -std=c99
0.24user 0.01system 0:00.60elapsed 41%CPU (0avgtext+0avgdata 39424maxresident)k
30960inputs+504outputs (37major+8516minor)pagefaults 0swaps

so we've come a long way but still regressed which is somehow not avoidable
because of the correctness fix that started this.

For reference GCC 8.2 numbers are

> /usr/bin/time /space/rguenther/install/gcc-8.2/bin/gcc -S testunity_Runner.i 
> -std=c99
94.31user 2.46system 1:36.79elapsed 99%CPU (0avgtext+0avgdata
10172916maxresident)k
0inputs+504outputs (0major+2535422minor)pagefaults 0swaps

So overall I consider this issue fixed for trunk.

Reply via email to