https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114034

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain D Sandoe <[email protected]>:

https://gcc.gnu.org/g:799a056cf804f433ce0050a5a6bf900f7a01ecb1

commit r14-9748-g799a056cf804f433ce0050a5a6bf900f7a01ecb1
Author: Iain Sandoe <[email protected]>
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 <[email protected]>

Reply via email to