https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114034
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>: https://gcc.gnu.org/g:a040eea6b65456625443dcfbf6b21913f2003c8b commit r13-8589-ga040eea6b65456625443dcfbf6b21913f2003c8b Author: Iain Sandoe <i...@sandoe.co.uk> Date: Sun Mar 31 11:22:58 2024 +0100 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 <i...@sandoe.co.uk> (cherry picked from commit 799a056cf804f433ce0050a5a6bf900f7a01ecb1)