public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/65361] New: [5 Regression] LTO: tree check: expected tree that contains ‘decl minimal’ structure, have ‘tree_binfo’ in add_type_duplicate, at ipa-devirt.c:1509
@ 2015-03-09 12:46 burnus at gcc dot gnu.org
  2015-03-09 13:32 ` [Bug lto/65361] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2015-03-09 12:46 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 4195 bytes --]

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

            Bug ID: 65361
           Summary: [5 Regression] LTO: tree check: expected tree that
                    contains ‘decl minimal’ structure, have ‘tree_binfo’
                    in add_type_duplicate, at ipa-devirt.c:1509
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: hubicka at gcc dot gnu.org

Created attachment 34989
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34989&action=edit
one.ii

Follow up to PR65276, PR65302 and PR65316, still for the same program - but I
have the feeling, we are slowly getting there. The real-program's message is
slightly different (get_odr_type, at ipa-devirt.c:1704).


g++ -c -std=c++11 -flto -O2 two.ii one.ii
gcc -r -nostdlib two.o one.o


one.ii:66:21: warning: type ‘struct ctype’ violates one definition rule [-Wodr]
   template <> class ctype < char >
                     ^
two.ii:51:21: note: a type with the same name but different number of
polymorphic bases is defined in another translation unit
   template <> class ctype < char >:public locale::facet, public ctype_base
                     ^
lto1: internal compiler error: tree check: expected tree that contains ‘decl
minimal’ structure, have ‘tree_binfo’ in add_type_duplicate, at
ipa-devirt.c:1509
0xca3d94 tree_contains_struct_check_failed(tree_node const*,
tree_node_structure_enum, char const*, int, char const*)
        ../../gcc/tree.c:9468
0x8948ec contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
        ../../gcc/tree.h:2960
0x8948ec add_type_duplicate
        ../../gcc/ipa-devirt.c:1508
0x8948ec get_odr_type(tree_node*, bool)
        ../../gcc/ipa-devirt.c:1763
0x89694f register_odr_type(tree_node*)
        ../../gcc/ipa-devirt.c:1839
>From gcc-bugs-return-479793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 09 12:47:17 2015
Return-Path: <gcc-bugs-return-479793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88639 invoked by alias); 9 Mar 2015 12:47:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 88588 invoked by uid 48); 9 Mar 2015 12:47:13 -0000
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/65361] [5 Regression] LTO: tree check:=?UTF-8?Q? expected tree that contains ‘decl minimal’ structure?=,=?UTF-8?Q? have ‘tree_binfo’ in add_type_duplicate?=, at ipa-devirt.c:1509
Date: Mon, 09 Mar 2015 12:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: burnus at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-65361-4-tqzVLMUBBH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65361-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65361-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-03/txt/msg00937.txt.bz2
Content-length: 222

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide361

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Created attachment 34990
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id4990&actioníit
two.ii


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

end of thread, other threads:[~2015-03-09 20:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-09 12:46 [Bug lto/65361] New: [5 Regression] LTO: tree check: expected tree that contains ‘decl minimal’ structure, have ‘tree_binfo’ in add_type_duplicate, at ipa-devirt.c:1509 burnus at gcc dot gnu.org
2015-03-09 13:32 ` [Bug lto/65361] " rguenth at gcc dot gnu.org
2015-03-09 14:36 ` mpolacek at gcc dot gnu.org
2015-03-09 15:33 ` jakub at gcc dot gnu.org
2015-03-09 16:01 ` jakub at gcc dot gnu.org
2015-03-09 16:27 ` burnus at gcc dot gnu.org
2015-03-09 20:20 ` jakub at gcc dot gnu.org
2015-03-09 20:21 ` jakub 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).