]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Remove duplicate -lgcov [PR114034]
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 31 Mar 2024 10:22:58 +0000 (11:22 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Tue, 2 Apr 2024 11:30:17 +0000 (12:30 +0100)
commit799a056cf804f433ce0050a5a6bf900f7a01ecb1
tree691f67f76b00d93c3fdbea2cfcf8191701833369
parentad8e34eaa870608e2b07b4e7147e6ef2944bb8b5
testsuite: Remove duplicate -lgcov [PR114034]

Duplicate library entries now cause linker warnings with newer linker
versions on Darwin which leads to these tests regressing.  The library
is already added by the test flags so there is no need to put an extra
one in the options.

PR testsuite/114034

gcc/testsuite/ChangeLog:

* g++.dg/gcov/gcov-dump-1.C: Remove extra -lgcov.
* g++.dg/gcov/gcov-dump-2.C: Likewise.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/testsuite/g++.dg/gcov/gcov-dump-1.C
gcc/testsuite/g++.dg/gcov/gcov-dump-2.C