Landing: b8d39fd810e7

Project / Subsystem

binutils / gprof

Date

2026-05-03

Author

H.J. Lu <hjl@sourceware.org>

Commit

b8d39fd810e7373aac4f129c34813f6a609d8d5f

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
gprof
patch_id
commit_hash
b8d39fd810e7373aac4f129c34813f6a609d8d5f
source_type
public_inbox
headline
Gprof Fixes Qualifier Discarded Call
tldr
The gprof now correctly calls strchr on a const char *.
author
H.J. Lu <hjl@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • gprof
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-05-03T00:00:00.000Z

In annotate_source, strrchr was called on a const char *. The result is now stored in a const char *. This prevents a discarded qualifier call.