From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10567 invoked by alias); 3 May 2013 12:15: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 Received: (qmail 10530 invoked by uid 55); 3 May 2013 12:15:48 -0000 From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57038] Latest libreoffice compilation fails with enabled LTO Date: Fri, 03 May 2013 12:15: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at ucw dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg00201.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57038 --- Comment #4 from Jan Hubicka 2013-05-03 12:15:48= UTC --- >=20 > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57038 >=20 > --- Comment #3 from Martin Li=C5=A1ka 201= 3-05-03 11:20:00 UTC --- > lto-partition.c:265 (add_symbol_to_partition) >=20 > c++filt: > std::_Tuple_impl<0ul, int const&>::_Tuple_impl() >=20 > dump_symtab_node: > _ZNSt11_Tuple_implILm0EJRKiEEC1Ev/281156 (_ZNSt11_Tuple_implILm0EJRKiEEC1= Ev) > @0x7f5a9bc5fab0 > Type: function > Visibility: prevailing_def_ironly_exp public weak artificial OK, so weakref alias bug apparently. Can you please attach the preprocessed /home/marxin/Programming/libreoffice/workdir/unxlngx6.pro/CxxObject/comphel= per/source/property/propagg.o? Honza >>From gcc-bugs-return-421529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 03 12:17:23 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11599 invoked by alias); 3 May 2013 12:17:23 -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 11563 invoked by uid 55); 3 May 2013 12:17:20 -0000 From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/57084] 483. xalancbmk run fails with -O2 -flto for i686 Date: Fri, 03 May 2013 12:17: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at ucw dot cz X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg00202.txt.bz2 Content-length: 666 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57084 --- Comment #3 from Jan Hubicka 2013-05-03 12:17:20 UTC --- > @@ -1993,6 +1994,18 @@ ipa_intraprocedural_devirtualization (gi > token = OBJ_TYPE_REF_TOKEN (otr); > fndecl = gimple_get_virt_method_for_binfo (tree_low_cst (token, 1), > binfo); > + if (!fndecl) > + return NULL_TREE; > + > + callee = cgraph_get_node (fndecl); > + if (!callee || callee->global.inlined_to) > + { > + if (!canonicalize_constructor_val (fndecl, NULL) fndecl = canonicalize_constructor_val (fndecl, NULL) Why do you need TREE_PUBLIC check? Honza