public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/44149]  New: lto1: internal compiler error: in lto_symtab_merge_decls_1, at lto-symtab.c:610
@ 2010-05-15  9:30 toon at moene dot org
  2010-05-15  9:33 ` [Bug lto/44149] " toon at moene dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: toon at moene dot org @ 2010-05-15  9:30 UTC (permalink / raw)
  To: gcc-bugs

The attached subroutine is compiled as follows:

gfortran -c -flto -O2 -fwhole-program bkfconv.F90

and then the object file is placed in a library of its own:

ar rv x.a bkfconv.o

Subsequently, a main program, b.f:

      call deep_convection
      end

is linked with this library, as follows:

gfortran -fuse-linker-plugin -flto -O2 -fwhole-program b.f x.a

This results in the ICE in the subject.

gfortran -v
Using built-in specs.
COLLECT_GCC=/usr/snp/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/snp/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --enable-checking=release --prefix=/usr/snp
--enable-gold --enable-plugins --disable-multilib --disable-nls
--with-arch-64=native --with-tune-64=native --enable-languages=fortran,c++
--enable-stage1-languages=c++ --disable-werror
Thread model: posix
gcc version 4.6.0 20100514 (experimental) (GCC) 

ld -v
GNU gold (GNU Binutils 2.20.51.20100506) 1.9


-- 
           Summary: lto1: internal compiler error: in
                    lto_symtab_merge_decls_1, at lto-symtab.c:610
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: toon at moene dot org
  GCC host triplet: x64_86-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44149


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-18 18:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-15  9:30 [Bug lto/44149] New: lto1: internal compiler error: in lto_symtab_merge_decls_1, at lto-symtab.c:610 toon at moene dot org
2010-05-15  9:33 ` [Bug lto/44149] " toon at moene dot org
2010-05-16 18:36 ` toon at moene dot org
2010-05-16 18:51 ` toon at moene dot org
2010-05-17  9:10 ` [Bug lto/44149] -fuse-linker-plugin " rguenth at gcc dot gnu dot org
2010-05-18 18:15 ` ccoutant at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).