From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75227 invoked by alias); 20 Mar 2015 09:54:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 75176 invoked by uid 48); 20 Mar 2015 09:54:42 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/65475] [5 Regression] ICE in odr_vtable_hasher::equal (Segmentation fault) Date: Fri, 20 Mar 2015 10:07: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: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg02074.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65475 --- Comment #4 from Martin Li=C5=A1ka --- Unfortunately, there is another problem with applied patch: $ cat 1.ii namespace std { class exception {}; class runtime_error : exception { virtual char m_fn1(); } a; } $ cat 2.ii namespace std { class exception { virtual char m_fn1(); }; class runtime_error : exception { } a; } $ g++ 1.ii 2.ii -flto -O1 /home/marxin/Programming/bin/gcc/bin/ld: error: /tmp/cc7v39VO.o: multiple definition of 'std::a' /home/marxin/Programming/bin/gcc/bin/ld: /tmp/ccJ8pPM4.o: previous definiti= on here 2.ii:2:7: warning: type =E2=80=98struct exception=E2=80=99 violates one def= inition rule [-Wodr] class exception { ^ 1.ii:2:7: note: a type with different virtual table pointers is defined in another translation unit class exception {}; ^ 2.ii:2:7: warning: type =E2=80=98struct exception=E2=80=99 violates one def= inition rule [-Wodr] class exception { ^ 1.ii:2:7: note: a type with different bases is defined in another translati= on unit class exception {}; ^ 1.ii:3:7: warning: type =E2=80=98struct runtime_error=E2=80=99 violates one= definition rule [-Wodr] class runtime_error : exception { ^ 2.ii:5:7: note: a type with different virtual table pointers is defined in another translation unit class runtime_error : exception { ^ lto1: internal compiler error: in add_type_duplicate, at ipa-devirt.c:1575 0x77c43c add_type_duplicate ../../gcc/ipa-devirt.c:1573 0x77c43c get_odr_type(tree_node*, bool) ../../gcc/ipa-devirt.c:1772 0x77d25c register_odr_type(tree_node*) ../../gcc/ipa-devirt.c:1848 0x5b43d6 lto_read_decls ../../gcc/lto/lto.c:1946 0x5b4d7b lto_file_finalize ../../gcc/lto/lto.c:2236 0x5b4d7b lto_create_files_from_ids ../../gcc/lto/lto.c:2246 0x5b4d7b lto_file_read ../../gcc/lto/lto.c:2287 0x5b4d7b read_cgraph_and_symbols ../../gcc/lto/lto.c:2992 0x5b4d7b lto_main() ../../gcc/lto/lto.c:3462 Thanks, Martin >>From gcc-bugs-return-480931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 20 09:58:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10000 invoked by alias); 20 Mar 2015 09:58:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9941 invoked by uid 48); 20 Mar 2015 09:58:47 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65486] ICE: in type_natural_mode, at config/i386/i386.c:6646 Date: Fri, 20 Mar 2015 10:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: cc Message-ID: In-Reply-To: References: 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/msg02075.txt.bz2 Content-length: 519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65486 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Note long double vectors are never beneficial, there is no HW support for them, so while the testcase is valid, using it is always a bad idea.