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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 43477
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43477&action=edit
Reproducer

$ gcc-7 -O2 -g -march=native -mtune=native -std=legacy types.f90 -o before.o -c
$ gcc -O2 -g -march=native -mtune=native -std=legacy types.f90 -o after.o -c

$ bloaty after.o -- before.o
     VM SIZE                        FILE SIZE
 ++++++++++++++ GROWING          ++++++++++++++
 +11e2% +35.5Ki .rodata          +35.5Ki +11e2%
  [ = ]       0 .rela.debug_info     +96  +0.2%
  [ = ]       0 .debug_loc           +64  +8.1%
  [ = ]       0 .rela.text           +48  +5.4%
  [ = ]       0 .debug_str           +28  +0.5%
  +0.5%     +16 .text                +16  +0.5%
  +0.6%      +8 .eh_frame             +8  +0.6%
  [ = ]       0 .debug_line           +1  +0.6%

 -------------- SHRINKING        --------------
  [DEL] -31.8Ki .bss                   0  [ = ]
  [ = ]       0 .debug_info          -27  -0.3%
  [ = ]       0 .comment             -23 -35.4%
  [ = ]       0 [Unmapped]           -16 -45.7%
  [ = ]       0 .debug_abbrev         -3  -0.9%

  +9.6% +3.79Ki TOTAL            +35.7Ki   +43%

It's sample where it increases approximately 10x.

Reply via email to