[Bug ipa/93369] [10 regression] g++.dg/lto/pr64076 fails
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 9 11:59:01 GMT 2020
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 <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:bb40460646ce4e6ad27a2f6795106d004d405314
commit r10-7652-gbb40460646ce4e6ad27a2f6795106d004d405314
Author: Richard Biener <rguenther@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 <rguenther@suse.de>
PR testsuite/93369
* g++.dg/lto/pr64076_0.C: Add -shared -fPIC.
* g++.dg/lto/pr64076_1.C: Add -fPIC.
More information about the Gcc-bugs
mailing list