]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite, Objective-C: Fix duplicate libobjc cases.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 25 Jan 2024 20:17:42 +0000 (20:17 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 31 Mar 2024 11:29:15 +0000 (12:29 +0100)
commit1b81063e29912f7a139c87c711d601d74373ece8
treec7a5dad50d02921bba3c9857a93ce5c7316e49fd
parent46b76b76bdcaa80814249784c9227e5aea82879b
testsuite, Objective-C: Fix duplicate libobjc cases.

Two of the encode testcases include '-lobjc' as their dg-options.
Since the library is already appended as part of the generic testsuite
handling,  this means that two instances appear on the link line leading
to spurious warnings from Darwin's new linker.

gcc/testsuite/ChangeLog:

* obj-c++.dg/encode-10.mm: Remove unneeded '-lobjc' option addition.
* obj-c++.dg/encode-9.mm: Likewise.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
(cherry picked from commit 30d9e81c19d69e15b2e9c53e4377879cbf9b0b84)
gcc/testsuite/obj-c++.dg/encode-10.mm
gcc/testsuite/obj-c++.dg/encode-9.mm