This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]