https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93369
--- Comment #20 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:bb40460646ce4e6ad27a2f6795106d004d405314 commit r10-7652-gbb40460646ce4e6ad27a2f6795106d004d405314 Author: Richard Biener <rguent...@suse.de> 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 <rguent...@suse.de> PR testsuite/93369 * g++.dg/lto/pr64076_0.C: Add -shared -fPIC. * g++.dg/lto/pr64076_1.C: Add -fPIC.