Landing: b349b554d10a

Project / Subsystem

gcc / cris

Date

2026-07-29

Author

Roger Sayle

Commit

b349b554d10aac80e242c1749c69764bbabc9006

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cris
patch_id
—
commit_hash
b349b554d10aac80e242c1749c69764bbabc9006
source_type
github
headline
Restore cris-elf build after RTL optimization regression.
tldr
Fixes a regression impacting the CRIS architecture's build process caused by recent RTL simplification improvements.
author
Roger Sayle
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cris
  • • build
  • • regression
  • • rtl-optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-07-29T00:00:00.000Z

A recent RTL simplification improvement introduced a regression that broke the build for the CRIS architecture, specifically for cris-elf. The issue stemmed from cris.md’s cbranch instructions accepting more machine modes than the define_insn it lowered to could handle. This commit resolves the problem by adding the necessary modes to the btst instruction definition, restoring the build.