Landing: 91dda5028f6a

Project / Subsystem

gcc / risc-v

Date

2026-08-04

Author

Aleksa Paunovic

Commit

91dda5028f6a7adcb4bf8f98484dd9fd719011eb

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
risc-v
patch_id
—
commit_hash
91dda5028f6a7adcb4bf8f98484dd9fd719011eb
source_type
github
headline
RISC-V: Fix subword address computation for big-endian targets
tldr
Ensures correct sub-word atomic operations on big-endian RISC-V by fixing address calculation.
author
Aleksa Paunovic
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • risc-v
  • • big-endian
  • • atomic
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-08-04T00:00:00.000Z

A fix has been implemented for the riscv_subword_address function to correctly compute sub-word addresses for built-in atomic operations on big-endian RISC-V targets. This resolves failures in multiple libatomic and target-specific tests that were caused by incorrect address generation.