public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/54728] New: [4.8 regression] ICE in input_gimple_stmt, at gimple-streamer-in.c:254
@ 2012-09-27 11:46 dimhen at gmail dot com
  2012-09-27 12:17 ` [Bug lto/54728] " rguenth at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: dimhen at gmail dot com @ 2012-09-27 11:46 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54728
           Summary: [4.8 regression] ICE in input_gimple_stmt, at
                    gimple-streamer-in.c:254
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dimhen@gmail.com


gcc version 4.8.0 20120927 (experimental) [trunk revision 191799] (GCC)

$ cat fun1.cpp
#include <sstream>
#include <string>

void fun1(std::string &s)
{
    std::ostringstream os;
    s = os.str();
}
$ sed 's/fun1/fun2/' < fun1.cpp > fun2.cpp
$ g++ -flto -c fun1.cpp
$ g++ -flto -c fun2.cpp
$ g++ fun1.o fun2.o -flto -flto-partition=none -o libx.so
In member function 'str':
lto1: internal compiler error: in input_gimple_stmt, at
gimple-streamer-in.c:254
0xbf6cfb input_gimple_stmt
    /home/dimhen/src/gcc-current/gcc/gimple-streamer-in.c:253
0xbf6cfb input_bb(lto_input_block*, LTO_tags, data_in*, function*, int)
    /home/dimhen/src/gcc-current/gcc/gimple-streamer-in.c:310
0x70d47c input_function
    /home/dimhen/src/gcc-current/gcc/lto-streamer-in.c:870
0x70d47c lto_read_body
    /home/dimhen/src/gcc-current/gcc/lto-streamer-in.c:994
0x70d47c lto_input_function_body(lto_file_decl_data*, tree_node*, char const*)
    /home/dimhen/src/gcc-current/gcc/lto-streamer-in.c:1039
0x4cc9ca lto_materialize_function
    /home/dimhen/src/gcc-current/gcc/lto/lto.c:226
0x4cc9ca materialize_cgraph
    /home/dimhen/src/gcc-current/gcc/lto/lto.c:3045
0x4d137a lto_main()
    /home/dimhen/src/gcc-current/gcc/lto/lto.c:3307
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: g++ returned 1 exit status
/usr/bin/ld: fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc_current/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /home/dimhen/src/gcc-current/configure
--prefix=/usr/local/gcc_current --with-multilib-list=m64 --enable-__cxa_atexit
--enable-shared --enable-checking=df,fold,rtl,tree,yes
--enable-gnu-unique-object --enable-linker-build-id
--enable-languages=c,c++,lto --enable-plugin
--enable-version-specific-runtime-libs
Thread model: posix
gcc version 4.8.0 20120927 (experimental) [trunk revision 191799] (GCC)


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

end of thread, other threads:[~2013-01-02 13:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-27 11:46 [Bug lto/54728] New: [4.8 regression] ICE in input_gimple_stmt, at gimple-streamer-in.c:254 dimhen at gmail dot com
2012-09-27 12:17 ` [Bug lto/54728] " rguenth at gcc dot gnu.org
2012-09-27 12:28 ` dimhen at gmail dot com
2012-10-01 10:17 ` dimhen at gmail dot com
2012-10-11  7:07 ` d.g.gorbachev at gmail dot com
2012-10-11  7:08 ` d.g.gorbachev at gmail dot com
2012-10-11  7:08 ` d.g.gorbachev at gmail dot com
2012-11-16  3:36 ` pinskia at gcc dot gnu.org
2012-12-07 11:25 ` rguenth at gcc dot gnu.org
2012-12-21 14:16 ` hubicka at gcc dot gnu.org
2012-12-21 15:01 ` hubicka at gcc dot gnu.org
2012-12-22 23:28 ` hubicka at gcc dot gnu.org
2013-01-02 10:41 ` rguenth at gcc dot gnu.org
2013-01-02 13:48 ` dimhen at gmail dot com

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).