[Bug tree-optimization/90020] [7 regression] -O2 -Os x86-64 wrong code generated for GNU Emacs
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Sep 1 18:58:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90020
--- Comment #22 from Iain Sandoe <iains at gcc dot gnu.org> ---
Author: iains
Date: Sun Sep 1 18:57:42 2019
New Revision: 275276
URL: https://gcc.gnu.org/viewcvs?rev=275276&root=gcc&view=rev
Log:
[Darwin, testsuite] Backport fix for fails of pr90020.c.
To allow weak references to be undefined at link-time, Darwin needs
-Wl,-undefined,dynamic_lookup. For them to work at runtime on older,
Darwin versions, the lookup needs to use 'flat' namespace (i.e. ignore
the two-level library naming).
2019-09-01 Iain Sandoe <iain@sandoe.co.uk>
Backport from mainline.
2019-04-15 Dominique d'Humieres <dominiq@gcc.gnu.org>
PR tree-optimization/90020
* gcc.dg/torture/pr90020.c: Add linker options for Darwin.
Modified:
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr90020.c
More information about the Gcc-bugs
mailing list