From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 00581385E019; Thu, 9 Apr 2020 11:59:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00581385E019 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1586433542; bh=MBNsgNv9uFCQr2mPHY4SWLY5UB+zzF9A1AiZpqSe+4M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JlL9/UQiNc53Dc1AK6C4Ws4jmpP/8HnZYu46XwzOdmwx8qu7kUWWyddTmCiK2QiJ9 H3nTqv5MzTnTWqhCw6sdowAh/rmRMd91e5NLTK8jFP2YwqkfPBfuP+sXuNUeHb+onc U60CaxuJwHdmfQiVYdYKO0yh0rO6CV+XzOMDjcSA= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/93369] [10 regression] g++.dg/lto/pr64076 fails Date: Thu, 09 Apr 2020 11:59:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 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-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2020 11:59:02 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D93369 --- Comment #20 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:bb40460646ce4e6ad27a2f6795106d004d405314 commit r10-7652-gbb40460646ce4e6ad27a2f6795106d004d405314 Author: Richard Biener Date: Thu Apr 9 13:54:01 2020 +0200 testsuite/93369 - use -shared to avoid issue with ODR violation The testcase contains an ODR violation and thus the observed link failure is an accepted outcome (it originally was for an ICE during WPA). Thus the following adds -shared to the link. 2020-04-09 Richard Biener PR testsuite/93369 * g++.dg/lto/pr64076_0.C: Add -shared -fPIC. * g++.dg/lto/pr64076_1.C: Add -fPIC.=