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: "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 17:23:24 +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 #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> What are the precise circumstances that you see this, please?
[Book15] f90/bug% gfc /opt/gcc/_clean/gcc/testsuite/gfortran.dg/submodule_1.f90
-flto
lto1: error: two or more sections for
.gnu.lto___foo_interface_MOD___vtab_foo_interface_Foo.b6ec16be3917c0c
...
[Book15] f90/bug% gfc -v
Using built-in specs.
COLLECT_GCC=gfc
COLLECT_LTO_WRAPPER=/opt/gcc/gcc6w/libexec/gcc/x86_64-apple-darwin14.4.0/6.0.0/lto-wrapper
Target: x86_64-apple-darwin14.4.0
Configured with: ../work/configure --prefix=/opt/gcc/gcc6w
--enable-languages=c,c++,fortran,objc,obj-c++,ada,java,lto
--with-gmp=/opt/mp-new --with-system-zlib --with-isl=/opt/mp-new --enable-lto
--enable-plugin --with-arch=corei7 --with-cpu=corei7
Thread model: posix
gcc version 6.0.0 20150703 (experimental) [trunk revision 225405] (GCC)
clean revision r225405.