public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/65475] [5 Regression] ICE in odr_vtable_hasher::equal (Segmentation fault) Date: Mon, 23 Mar 2015 02:19:00 -0000 [thread overview] Message-ID: <bug-65475-4-KBR90iXdaR@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-65475-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65475 --- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Mon Mar 23 00:17:07 2015 New Revision: 221582 URL: https://gcc.gnu.org/viewcvs?rev=221582&root=gcc&view=rev Log: PR ipa/65475 * ipa-devirt.c: Include demangle.h (odr_type_d): Add field rtti_broken. (odr_subtypes_equivalent_p): Do not require name to match. (compare_virtual_tables): Fix typo; if type already has ODR violation, bypass the tests; be ready for function referneces in vtables that are not DECL_VIRTUAL; make warnings to be OPT_Wodr. (warn_odr): Give up for nameless types. (warn_types_mismatch): Report mismatch in mangled names; report mismatch in anonymous namespaces; look into component types to give useful error; report when mismatch is dragged in from other ODR type. (odr_types_equivalent_p): Match types for being polymorphic; avoid duplicated diagnostics. (add_type_duplicate): Reorder checks so more informative ones come first; fix typo; do not output "the extra base is defined here" when we did not warn. (BINFO_N_BASE_BINFOS): Relax sanity check. * g++.dg/lto/pr65475b_0.C: New testcase. * g++.dg/lto/pr65475b_1.C: New testcase. * g++.dg/lto/pr65475c_0.C: New testcase. * g++.dg/lto/pr65475c_1.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/lto/pr65475b_0.C trunk/gcc/testsuite/g++.dg/lto/pr65475b_1.C trunk/gcc/testsuite/g++.dg/lto/pr65475c_0.C trunk/gcc/testsuite/g++.dg/lto/pr65475c_1.C Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-devirt.c trunk/gcc/testsuite/ChangeLog
next prev parent reply other threads:[~2015-03-23 0:17 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-03-19 19:44 [Bug lto/65475] New: " marxin at gcc dot gnu.org 2015-03-19 19:59 ` [Bug lto/65475] " marxin at gcc dot gnu.org 2015-03-19 22:21 ` hubicka at gcc dot gnu.org 2015-03-20 8:29 ` hubicka at gcc dot gnu.org 2015-03-20 10:07 ` marxin at gcc dot gnu.org 2015-03-20 10:58 ` rguenth at gcc dot gnu.org 2015-03-20 19:11 ` hubicka at ucw dot cz 2015-03-20 19:12 ` hubicka at gcc dot gnu.org 2015-03-20 21:41 ` hubicka at gcc dot gnu.org 2015-03-23 2:19 ` hubicka at gcc dot gnu.org [this message] 2015-03-23 3:01 ` hubicka at gcc dot gnu.org 2015-03-23 21:07 ` jakub at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-65475-4-KBR90iXdaR@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).