Landing: cce99d1d045b

Project / Subsystem

gcc / nds32

Date

2026-09-10

Author

Richard Sandiford

Commit

cce99d1d045b56351e5ffd4fe8646bbb0188a069

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
nds32
patch_id
—
commit_hash
cce99d1d045b56351e5ffd4fe8646bbb0188a069
source_type
github
headline
nds32: Fix rtx_costs return value
tldr
Fixed the ND32 backend's `rtx_costs` functions to correctly store costs and return a boolean status, resolving a build failure.
author
Richard Sandiford
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • nds32
  • • build fix
  • • cost model
discussion_id_link
—
bugzilla_pr
—
date
2026-09-10T00:00:00.000Z

This commit corrects an error in the ND32 target’s cost calculation functions. Previously, nds32_rtx_costs_speed_prefer incorrectly returned the cost value directly in two places, instead of storing it in the provided pointer and returning true to indicate completion. This fix ensures the functions adhere to their expected interface, resolving a build failure observed with config-list.mk.