From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85108 invoked by alias); 18 Mar 2015 12:53:54 -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 85065 invoked by uid 48); 18 Mar 2015 12:53:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/64860] [5 Regression] multiple definition of typeinfo in 5.0 (4.9.2 works) Date: Wed, 18 Mar 2015 12:53: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: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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/msg01815.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64860 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 --- Comment #4 from Richard Biener --- Yes, -r should be honored by the appropriate resolution info (not _IR_ONLY). Thus you have to treat that conservatively. Otherwise you can create a testcase that fails with the final link and the other strong definition in a shared library.