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 lto/43318] New: LTO ICE with minimal C++ program


Using svn r157325 on Ubuntu.

> /usr/local/gcc45/bin/g++ -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc45/bin/g++
COLLECT_LTO_WRAPPER=/usr/local/gcc45/libexec/gcc/i686-pc-linux-gnu/4.5.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --enable-threads=posix --with-arch=native
--with-tune=native --disable-nls --disable-bootstrap --prefix=/usr/local/gcc45
--with-mpc=/usr/local --enable-languages=c,c++,objc,lto --enable-lto
--enable-gold
Thread model: posix
gcc version 4.5.0 20100309 (experimental) (GCC) 

Source:
void a()
{
}

> /usr/local/gcc45/bin/g++ -flto -c a.cpp
> /usr/local/gcc45/bin/g++ -flto -O -r -nostdlib a.o
a/0(-1) @0xb769b398 availability:available needed reachable body
externally_visible finalized
  called by: 
  calls: 
callgraph:

a/0(-1) @0xb769b398 availability:available needed reachable body
externally_visible finalized
  called by: 
  calls: 
lto1: internal compiler error: in propagate, at ipa-reference.c:1244
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: /usr/local/gcc45/bin/g++ returned 1 exit status
collect2: lto-wrapper returned 1 exit status

> /usr/local/gcc45/bin/g++ -flto -O -fno-ipa-reference -r -nostdlib a.o
lto1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: /usr/local/gcc45/bin/g++ returned 1 exit status
collect2: lto-wrapper returned 1 exit status


-- 
           Summary: LTO ICE with minimal C++ program
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: astrange at ithinksw dot com
  GCC host triplet: i686-pc-linux-gnu


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


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