Landing: e63aa84edca4

Project / Subsystem

gcc / risc-v

Date

2026-03-26

Author

Robin Dapp

Commit

e63aa84edca4ef613c3e4f4dfe6afe3028d9d2b7

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
risc-v
patch_id
commit_hash
e63aa84edca4ef613c3e4f4dfe6afe3028d9d2b7
source_type
github
headline
RISC-V: Fix format specifier
tldr
This commit fixes a format specifier warning in the RISC-V backend when using a GCC 15 host compiler.
author
Robin Dapp
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • risc-v
  • build
  • warning
  • compiler
discussion_id_link
bugzilla_pr
date
2026-03-26T00:00:00.000Z

The RISC-V backend code had an incorrect format specifier (%qB) in the riscv_check_target_clone_version function, which triggered a warning with GCC 15. This patch replaces the invalid format specifier with a standard alternative ($<%*s%>) to resolve the warning.