[Bug fortran/84487] [8/9 Regression] Large rodate section increase in 465.tonto with r254427
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 1 20:09:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84487
--- Comment #16 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
A shorter reproducer:
$ cat types-2.f90
module TYPES_MODULE
implicit none
type archive_type
character(2**18) :: root_name
end type archive_type
end module TYPES_MODULE
$ gfortran -c types-2.f90
$ bloaty types-2.o
VM SIZE FILE SIZE
-------------- --------------
100.0% 256Ki .rodata 256Ki 99.3%
0.0% 0 [ELF Headers] 960 0.4%
0.0% 0 .symtab 312 0.1%
0.0% 0 .strtab 180 0.1%
0.0% 0 .shstrtab 102 0.0%
0.0% 56 .eh_frame 56 0.0%
0.0% 0 .rela.rodata 48 0.0%
0.0% 45 .text 45 0.0%
0.0% 0 .comment 42 0.0%
0.0% 0 [Unmapped] 31 0.0%
0.0% 0 .rela.eh_frame 24 0.0%
0.0% 0 .rela.text 24 0.0%
100.0% 256Ki TOTAL 257Ki 100.0%
More information about the Gcc-bugs
mailing list