]> git.ipfire.org Git - thirdparty/gcc.git/commit
C++, testsuite: Adjust pure-virtual1.C options for Darwin.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 25 Jul 2020 20:42:55 +0000 (21:42 +0100)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:19:33 +0000 (13:19 -0300)
commit2e949f82bfd3d29628307614dc359505959abe2a
treee28cea1a2b8f311a1e5a5dcb96abb3f4564f0929
parent07a3433e1748e6dd13cd5dc34ba87b9def2fedc3
C++, testsuite: Adjust pure-virtual1.C options for Darwin.

Darwin's static linker expects, by default, that all linkage will
be satisfied (even for weak items).  This allows the two-level
namespace to work even for weak cases.

However, there's an option to make it behave in a similar manner
to ELF.  This is needed for the pure-virtual1.C testcase to pass
on Darwin.

gcc/testsuite/ChangeLog:

* g++.dg/abi/pure-virtual1.C: Add dynamic_lookup option
for Darwin.
gcc/testsuite/g++.dg/abi/pure-virtual1.C