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

--- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Nov 10 11:19:13 2019
New Revision: 278015

URL: https://gcc.gnu.org/viewcvs?rev=278015&root=gcc&view=rev
Log:
Put vtab into RO section, same for __def_init if it contains an initializer.

2019-11-10  Thomas Koenig  <tkoe...@gcc.gnu.org>

        Backport from trunk
        PR fortran/92113
        * trans-decl.c (gfc_get_symbol_decl): If __def_init actually
        contains a value, put it into  the read-only section.


Modified:
    branches/gcc-9-branch/gcc/fortran/ChangeLog
    branches/gcc-9-branch/gcc/fortran/trans-decl.c

Reply via email to