diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2024-01-25 20:17:42 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2024-01-28 11:03:26 +0000 |
commit | 30d9e81c19d69e15b2e9c53e4377879cbf9b0b84 (patch) | |
tree | c520d802ef28d15faa0c64c51664796a8144f968 /gcc | |
parent | 837827f8f2542c36ba5944b4da0a76ea6a64b08b (diff) | |
download | gcc-30d9e81c19d69e15b2e9c53e4377879cbf9b0b84.zip gcc-30d9e81c19d69e15b2e9c53e4377879cbf9b0b84.tar.gz gcc-30d9e81c19d69e15b2e9c53e4377879cbf9b0b84.tar.bz2 |
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>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/obj-c++.dg/encode-10.mm | 1 | ||||
-rw-r--r-- | gcc/testsuite/obj-c++.dg/encode-9.mm | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/gcc/testsuite/obj-c++.dg/encode-10.mm b/gcc/testsuite/obj-c++.dg/encode-10.mm index 2b3af88..2477400 100644 --- a/gcc/testsuite/obj-c++.dg/encode-10.mm +++ b/gcc/testsuite/obj-c++.dg/encode-10.mm @@ -1,5 +1,4 @@ /* Test for @encode in templates. */ -/* { dg-options "-lobjc" } */ /* { dg-do run } */ #include <string.h> #include <stdlib.h> diff --git a/gcc/testsuite/obj-c++.dg/encode-9.mm b/gcc/testsuite/obj-c++.dg/encode-9.mm index 6b064df..4fdb5fa 100644 --- a/gcc/testsuite/obj-c++.dg/encode-9.mm +++ b/gcc/testsuite/obj-c++.dg/encode-9.mm @@ -1,5 +1,4 @@ /* Test than @encode is properly instantiated. */ -/* { dg-options "-lobjc" } */ /* { dg-do run } */ #include <string.h> |