https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91984
Bug ID: 91984
Summary: Handling of __def_init_*
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: tkoenig at gcc dot gnu.org
Target Milestone: ---
After r276506 (PR84487) the __def_init variables are no longer in
the read-only section, but in the BSS instead. This was done because they they
could become excessively large. However, the current solution is not ideal:
- Not having them read-only forced an xfail on
gfortran.dg/typebound_call_22.f03
- Having a variable which is (in the test cases) never used, and has only
zeros, is not the best design.