This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66762] New: ICE when compiling gfortran.dg/submodule_[16].f90 with -flto
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 04 Jul 2015 12:25:48 +0000
- Subject: [Bug fortran/66762] New: ICE when compiling gfortran.dg/submodule_[16].f90 with -flto
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66762
Bug ID: 66762
Summary: ICE when compiling gfortran.dg/submodule_[16].f90 with
-flto
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: dominiq at lps dot ens.fr
CC: hubicka at gcc dot gnu.org, pault at gcc dot gnu.org
Blocks: 52846
Target Milestone: ---
When compiling gfortran.dg/submodule_[16].f90 with -flto I get the following
ICE:
lto1: error: two or more sections for
.gnu.lto___foo_interface_MOD___vtab_foo_interface_Foo.b6ec16be3917c0c
lto1: internal compiler error: cannot read LTO decls from
/var/folders/8q/sh_swgz96r7f5vnn08f7fxr00000gn/T//cc71MURs.o
lto1: internal compiler error: Abort trap: 6
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52846
[Bug 52846] [F2008] Support submodules