public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/61885] New: [4.10 Regression] ICE: in types_same_for_odr, at ipa-devirt.c:383 with LTO
@ 2014-07-23 10:31 d.g.gorbachev at gmail dot com
  2014-07-23 12:06 ` [Bug ipa/61885] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2014-07-23 10:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61885

            Bug ID: 61885
           Summary: [4.10 Regression] ICE: in types_same_for_odr, at
                    ipa-devirt.c:383 with LTO
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: d.g.gorbachev at gmail dot com
                CC: hubicka at gcc dot gnu.org
            Target: i686-pc-linux-gnu

Created attachment 33175
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33175&action=edit
Testcase

GCC 4.10.0 20140720 (experimental).

$ gcc -flto -nostdlib -shared PR-61885.C
In function 'main':
lto1: internal compiler error: in types_same_for_odr, at ipa-devirt.c:383
0x83d423a types_same_for_odr(tree_node const*, tree_node const*)
    ../../gcc-4.10/gcc/ipa-devirt.c:383
0x83d4274 get_class_context
    ../../gcc-4.10/gcc/ipa-devirt.c:1762
0x83d48b7 contains_type_p
    ../../gcc-4.10/gcc/ipa-devirt.c:1849
0x83da8d1 get_polymorphic_call_info(tree_node*, tree_node*, tree_node**, long
long*, ipa_polymorphic_call_context*, gimple_statement_base*)
    ../../gcc-4.10/gcc/ipa-devirt.c:2161
0x81ddbbc cgraph_create_indirect_edge(cgraph_node*, gimple_statement_base*,
int, long long, int)
    ../../gcc-4.10/gcc/cgraph.c:970
0x81e173f rebuild_cgraph_edges()
    ../../gcc-4.10/gcc/cgraphbuild.c:453
Please submit a full bug report,
with preprocessed source if appropriate.

Appeared in 212128 < r <= 212315.


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

* [Bug ipa/61885] [4.10 Regression] ICE: in types_same_for_odr, at ipa-devirt.c:383 with LTO
  2014-07-23 10:31 [Bug ipa/61885] New: [4.10 Regression] ICE: in types_same_for_odr, at ipa-devirt.c:383 with LTO d.g.gorbachev at gmail dot com
@ 2014-07-23 12:06 ` rguenth at gcc dot gnu.org
  2014-07-29 16:23 ` trippels at gcc dot gnu.org
  2014-07-30  8:40 ` trippels at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-07-23 12:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61885

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.10.0


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

* [Bug ipa/61885] [4.10 Regression] ICE: in types_same_for_odr, at ipa-devirt.c:383 with LTO
  2014-07-23 10:31 [Bug ipa/61885] New: [4.10 Regression] ICE: in types_same_for_odr, at ipa-devirt.c:383 with LTO d.g.gorbachev at gmail dot com
  2014-07-23 12:06 ` [Bug ipa/61885] " rguenth at gcc dot gnu.org
@ 2014-07-29 16:23 ` trippels at gcc dot gnu.org
  2014-07-30  8:40 ` trippels at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-07-29 16:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61885

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-07-29
                 CC|                            |trippels at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Also happens during Firefox libxul link:

lto1: internal compiler error: in types_same_for_odr, at ipa-devirt.c:386
0x773632 types_same_for_odr(tree_node const*, tree_node const*)
        ../../gcc/gcc/ipa-devirt.c:386
0x773c1b get_class_context
        ../../gcc/gcc/ipa-devirt.c:1810
0x7741c1 contains_type_p
        ../../gcc/gcc/ipa-devirt.c:1960
0x773e33 get_class_context
        ../../gcc/gcc/ipa-devirt.c:1789
0x77b478 possible_polymorphic_call_targets(tree_node*, long,
ipa_polymorphic_call_context, bool*, void**, int*)
        ../../gcc/gcc/ipa-devirt.c:2585
0x7a1463 possible_polymorphic_call_targets
        ../../gcc/gcc/ipa-utils.h:134
0x7a1463 walk_polymorphic_call_targets
        ../../gcc/gcc/ipa.c:151
0x7a1463 symtab_remove_unreachable_nodes(bool, _IO_FILE*)
        ../../gcc/gcc/ipa.c:380
0x549e54 read_cgraph_and_symbols
        ../../gcc/gcc/lto/lto.c:3091
0x549e54 lto_main()
        ../../gcc/gcc/lto/lto.c:3415
Please submit a full bug report,


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

* [Bug ipa/61885] [4.10 Regression] ICE: in types_same_for_odr, at ipa-devirt.c:383 with LTO
  2014-07-23 10:31 [Bug ipa/61885] New: [4.10 Regression] ICE: in types_same_for_odr, at ipa-devirt.c:383 with LTO d.g.gorbachev at gmail dot com
  2014-07-23 12:06 ` [Bug ipa/61885] " rguenth at gcc dot gnu.org
  2014-07-29 16:23 ` trippels at gcc dot gnu.org
@ 2014-07-30  8:40 ` trippels at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-07-30  8:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61885

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

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

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Fixed by r213232.


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

end of thread, other threads:[~2014-07-30  8:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-23 10:31 [Bug ipa/61885] New: [4.10 Regression] ICE: in types_same_for_odr, at ipa-devirt.c:383 with LTO d.g.gorbachev at gmail dot com
2014-07-23 12:06 ` [Bug ipa/61885] " rguenth at gcc dot gnu.org
2014-07-29 16:23 ` trippels at gcc dot gnu.org
2014-07-30  8:40 ` 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).