Landing: 2b980c3e11a6
Project / Subsystem
gcc / risc-v
Date
2026-09-22
Author
Robin Dapp
Commit
2b980c3e11a6b6ef0223d1668672bac877038185
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- risc-v
- patch_id
- —
- commit_hash
- 2b980c3e11a6b6ef0223d1668672bac877038185
- source_type
- github
- headline
- RISC-V: Error out early for unsupported builtins.
- tldr
- RISC-V compiler now flags unsupported builtins earlier in the compilation process.
- author
- Robin Dapp
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • risc-v
- • compiler
- • error handling
- • builtins
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-22T00:00:00.000Z
This patch improves error reporting for unsupported RISC-V builtins. Previously, errors only occurred during the expansion of a builtin, and some unsupported builtins could be optimized away before triggering a message. The change introduces an earlier check for unsupported calls, ensuring that users are notified of issues sooner and preventing potential confusion during compilation checks.