Landing: 811fd44766de

Project / Subsystem

binutils / binutils/gas

Date

2026-05-20

Author

Alan Modra <amodra@sourceware.org>

Commit

811fd44766de0dcc8f521250a01cb30dc9a732a3

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
binutils/gas
patch_id
commit_hash
811fd44766de0dcc8f521250a01cb30dc9a732a3
source_type
public_inbox
headline
Fixes assembler symbol loop issue, adds test case
tldr
The assembler now correctly handles symbol definition loops, and a new test case prevents regressions.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • binutils
  • gas
  • assembler
  • bugfix
  • test case
discussion_id_link
public_inbox:binutils#30308
bugzilla_pr
date
2026-05-20T00:00:00.000Z

The assembler had issues with symbol definition loops. This commit fixes this issue and adds a test case (gas/testsuite/gas/i386/intel-equ-loop.s) to ensure that the fix doesn’t regress. The test defines symbols in terms of themselves to create a loop and checks that the assembler reports an error.