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

--- Comment #11 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Nov 10 12:07:56 2019
New Revision: 278018

URL: https://gcc.gnu.org/viewcvs?rev=278018&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-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/trans-decl.c

Reply via email to