[Bug tree-optimization/85459] [8/9 Regression] Larger code generated from GMP template meta-programming

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 10 16:04:00 GMT 2018


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamborm at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
On the #c4 testcase it is:
/opt/notnfs/gcc-bisect/obj/gcc/cc1plus.240000 -quiet -O3 -fno-exceptions
pr85459.C; g++ -c -o pr85459{.o,.s}; size pr85459.o
   text    data     bss     dec     hex filename
    438       0       0     438     1b6 pr85459.o
/opt/notnfs/gcc-bisect/obj/gcc/cc1plus.255509 -quiet -O3 -fno-exceptions
pr85459.C; g++ -c -o pr85459{.o,.s}; size pr85459.o
   text    data     bss     dec     hex filename
    334     152       0     486     1e6 pr85459.o
/opt/notnfs/gcc-bisect/obj/gcc/cc1plus.255510 -quiet -O3 -fno-exceptions
pr85459.C; g++ -c -o pr85459{.o,.s}; size pr85459.o
   text    data     bss     dec     hex filename
    833     160       0     993     3e1 pr85459.o
/opt/notnfs/gcc-bisect/obj/gcc/cc1plus.266943 -quiet -O3 -fno-exceptions
pr85459.C; g++ -c -o pr85459{.o,.s}; size pr85459.o
   text    data     bss     dec     hex filename
    813     160       0     973     3cd pr85459.o
So the only significant growth there is due to the SRA change.
For -Os the sizes are much larger, 1075 at r240000, 789 at r255509, 919 at
r255510 and 939 at r266943.


More information about the Gcc-bugs mailing list