]> 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>
Fri, 5 Apr 2024 19:56:40 +0000 (20:56 +0100)
commita040eea6b65456625443dcfbf6b21913f2003c8b
tree85b68076a4ae097cc4464689a1d27ded49d2d47a
parent7f6792487bf93b41a9b1aafd3e4348f228fd0d91
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>
(cherry picked from commit 799a056cf804f433ce0050a5a6bf900f7a01ecb1)
gcc/testsuite/g++.dg/gcov/gcov-dump-1.C
gcc/testsuite/g++.dg/gcov/gcov-dump-2.C