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

--- Comment #17 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #16)
> A shorter reproducer:

which results in the assembly file

        .file   "types-2.f90"
        .text
        .globl  __types_module_MOD___def_init_types_module_Archive_type
        .section        .rodata
        .align 32
        .type   __types_module_MOD___def_init_types_module_Archive_type,
@object
        .size   __types_module_MOD___def_init_types_module_Archive_type, 262144
__types_module_MOD___def_init_types_module_Archive_type:
        .zero   262144

[...]

There is no earthly reason why this should not go into BSS, all
it contains are zeros.

Question: How would one invoke the necessary magic to put this into BSS
in the gfortran front end?  Or does anybody volunteer?

(I'd really like to get this fixed before the 9.0 release).

Reply via email to