This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66762] ICE when compiling gfortran.dg/submodule_[16].f90 with -flto
- From: "pault at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Nov 2015 14:51:08 +0000
- Subject: [Bug fortran/66762] ICE when compiling gfortran.dg/submodule_[16].f90 with -flto
- Auto-submitted: auto-generated
- References: <bug-66762-4 at http dot gcc dot gnu dot org/bugzilla/>
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