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

octoploid at yandex dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |---

--- Comment #2 from octoploid at yandex dot com ---
Hmm, not for me unfortunately:

markus@x4 lto % cd /var/tmp/gcc/gcc/testsuite/g++.dg/lto

markus@x4 lto % g++ -fPIC -flto -flto-partition=1to1 -r -nostdlib 20090302_0.C
20090302_1.C
lto1: internal compiler error: in operator[], at vec.h:722
0x52bd87 vec<inline_summary, va_gc, vl_embed>::operator[](unsigned int)
        ../../gcc/gcc/vec.h:722
0x52c77c vec<inline_summary, va_gc, vl_embed>::operator[](unsigned int)
        ../../gcc/gcc/lto/lto-partition.c:235
0x52c77c inline_summary
        ../../gcc/gcc/ipa-inline.h:242
0x52c77c add_symbol_to_partition_1
        ../../gcc/gcc/lto/lto-partition.c:207
0x52c62b add_symbol_to_partition_1
        ../../gcc/gcc/lto/lto-partition.c:227
0x52c9cb lto_1_to_1_map()
        ../../gcc/gcc/lto/lto-partition.c:358
0x528856 do_whole_program_analysis
        ../../gcc/gcc/lto/lto.c:3120
0x528856 lto_main()
        ../../gcc/gcc/lto/lto.c:3264
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: /var/tmp/gcc_test/usr/local/bin/g++ returned 1 exit status
/usr/bin/ld: fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status

markus@x4 lto % g++ -fPIC -flto -r -nostdlib 20081118_0.C 20081118_1.C
lto1: internal compiler error: in operator[], at vec.h:722
0x52bd87 vec<inline_summary, va_gc, vl_embed>::operator[](unsigned int)
        ../../gcc/gcc/vec.h:722
0x52d7e8 vec<inline_summary, va_gc, vl_embed>::operator[](unsigned int)
        ../../gcc/gcc/lto/lto-partition.c:570
0x52d7e8 inline_summary
        ../../gcc/gcc/ipa-inline.h:242
0x52d7e8 lto_balanced_map()
        ../../gcc/gcc/lto/lto-partition.c:475
0x52884c do_whole_program_analysis
        ../../gcc/gcc/lto/lto.c:3124
0x52884c lto_main()
        ../../gcc/gcc/lto/lto.c:3264
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: /var/tmp/gcc_test/usr/local/bin/g++ returned 1 exit status
/usr/bin/ld: fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status

Reply via email to