[Bug fortran/66762] ICE when compiling gfortran.dg/submodule_[16].f90 with -flto

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 20 14:51:00 GMT 2015


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

--- Comment #12 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Fri Nov 20 14:50:35 2015
New Revision: 230661

URL: https://gcc.gnu.org/viewcvs?rev=230661&root=gcc&view=rev
Log:
2015-11-20  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/68237
        * decl.c (gfc_match_submod_proc): Test the interface symbol
        before accessing its attributes.

2015-11-20  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/66762
        (gfc_get_symbol_decl): Test for attr.used_in_submodule as well
        as attr.use_assoc (twice).
        (gfc_create_module_variable): Ditto.

2015-11-20  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/68237
        * gfortran.dg/submodule_12.f90: New test

        PR fortran/66762
        * gfortran.dg/submodule_6.f90: Add compile option -flto.

Added:
    trunk/gcc/testsuite/gfortran.dg/submodule_12.f08
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/submodule_6.f08


More information about the Gcc-bugs mailing list