Landing: 0d22d419a4b6

Project / Subsystem

binutils / gas

Date

2026-07-30

Author

Alan Modra <amodra@sourceware.org>

Commit

0d22d419a4b60672acf5555f5479fcf6956018a1

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
gas
patch_id
—
commit_hash
0d22d419a4b60672acf5555f5479fcf6956018a1
source_type
public_inbox
headline
Fix unbounded recursion in i386 Intel syntax symbol simplification.
tldr
Gas assembler prevents infinite loops when simplifying symbols in i386 Intel syntax.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • assembler
  • • bugfix
  • • x86
discussion_id_link
public_inbox:binutils#30308
bugzilla_pr
—
date
2026-07-30T00:00:00.000Z

This commit reverts a problematic change in the gas assembler’s i386 Intel syntax simplification logic, which inadvertently caused unbounded recursion and symbol loop issues (PR 30308). The fix introduces immediate failure detection for symbol loops and revises the simplification process to correctly handle cases where symbols are identical or equated, preventing simplification after a loop is detected.