public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/58733] New: [4.9 Regression] ICE in operator[], at vec.h:827
@ 2013-10-15  6:55 markus at trippelsdorf dot de
  2013-10-15  8:01 ` [Bug lto/58733] " rguenth at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: markus at trippelsdorf dot de @ 2013-10-15  6:55 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58733
           Summary: [4.9 Regression] ICE in operator[], at vec.h:827
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: markus at trippelsdorf dot de

testsuite/g++.dg/lto/20090302 ICE's on my machine:

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:827
0x524457 vec<inline_summary, va_gc, vl_embed>::operator[](unsigned int)
        ../../gcc/gcc/vec.h:827
0x524d5c vec<inline_summary, va_gc, vl_embed>::operator[](unsigned int)
        ../../gcc/gcc/lto/lto-partition.c:234
0x524d5c inline_summary
        ../../gcc/gcc/ipa-inline.h:242
0x524d5c add_symbol_to_partition_1
        ../../gcc/gcc/lto/lto-partition.c:206
0x524c0a add_symbol_to_partition_1
        ../../gcc/gcc/lto/lto-partition.c:226
0x524f7b lto_1_to_1_map()
        ../../gcc/gcc/lto/lto-partition.c:357
0x521670 do_whole_program_analysis
        ../../gcc/gcc/lto/lto.c:3078
0x521670 lto_main()
        ../../gcc/gcc/lto/lto.c:3222

Valgrind shows:
==13659== Invalid read of size 4
==13659==    at 0x509679: add_symbol_to_partition_1(ltrans_partition_def*,
symtab_node_def*) (lto-partition.c:206)
==13659==    by 0x5095EA: add_symbol_to_partition_1(ltrans_partition_def*,
symtab_node_def*) (lto-partition.c:226)
==13659==    by 0x5098CF: lto_1_to_1_map() (lto-partition.c:357)
==13659==    by 0x506C41: lto_main() (lto.c:3078)
==13659==    by 0x7B2545: compile_file() (toplev.c:546)
==13659==    by 0x7B40C9: toplev_main(int, char**) (toplev.c:1893)
==13659==    by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==13659==  Address 0x57a0ff0 is not stack'd, malloc'd or (recently) free'd
==13659==


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

end of thread, other threads:[~2014-03-03  7:56 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-15  6:55 [Bug lto/58733] New: [4.9 Regression] ICE in operator[], at vec.h:827 markus at trippelsdorf dot de
2013-10-15  8:01 ` [Bug lto/58733] " rguenth at gcc dot gnu.org
2013-11-05 15:04 ` rguenth at gcc dot gnu.org
2013-11-05 15:22 ` octoploid at yandex dot com
2013-11-06 13:15 ` octoploid at yandex dot com
2013-11-22 11:03 ` rguenth at gcc dot gnu.org
2013-11-22 11:37 ` octoploid at yandex dot com
2013-11-22 13:53 ` hjl.tools at gmail dot com
2013-12-04 15:05 ` jakub at gcc dot gnu.org
2013-12-04 15:41 ` octoploid at yandex dot com
2014-01-16 11:05 ` trippels at gcc dot gnu.org
2014-01-18 20:40 ` trippels at gcc dot gnu.org
2014-03-02 22:31 ` hubicka at gcc dot gnu.org
2014-03-02 22:33 ` hubicka at gcc dot gnu.org
2014-03-03  7:56 ` trippels at gcc dot gnu.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).