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  <i...@sandoe.co.uk>

        Backport from mainline.
        2019-04-15  Dominique d'Humieres  <domi...@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

Reply via email to