https://sourceware.org/bugzilla/show_bug.cgi?id=34125

--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The binutils-2_46-branch branch has been updated by H.J. Lu
<[email protected]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=36ced277bcc331c14c1fe38f3f9a6b25b12c7118

commit 36ced277bcc331c14c1fe38f3f9a6b25b12c7118
Author: Mark Wielaard <[email protected]>
Date:   Sat May 2 18:56:51 2026 +0200

    gprof: Fix strchr discarded qualifier call

    In annotate_source strrchr is called on a const char *. So the result
    should also be stored in a const char *.

            PR binutils/34125
            * gprof/source.c (annotate_source): Make name_only a const char *.

    (cherry picked from commit b8d39fd810e7373aac4f129c34813f6a609d8d5f)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to