Landing: cff85e5a040b

Project / Subsystem

gcc / avr

Date

2026-08-20

Author

Georg-Johann Lay

Commit

cff85e5a040b097508a13d20ee792292ccd0f296

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
avr
patch_id
—
commit_hash
cff85e5a040b097508a13d20ee792292ccd0f296
source_type
github
headline
AVR: Add -mfuse-ifelse option to control avr-ifelse pass.
tldr
New -mfuse-ifelse option allows disabling the avr-ifelse optimization pass.
author
Georg-Johann Lay
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • avr
  • • compiler
  • • optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-08-20T00:00:00.000Z

This patch introduces a new command-line option, -m[no-]fuse-ifelse, for the AVR target. This option provides finer control over the avr-ifelse optimization pass, allowing developers to enable or disable it as needed. The change modifies the pass’s gate function to respect the new option, providing greater flexibility in controlling optimizations.