Landing: c8b203671b74

Project / Subsystem

gcc / gcc

Date

2026-08-12

Author

Iain Sandoe

Commit

c8b203671b741f887a37fc14df6fecebb025aff4

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
c8b203671b741f887a37fc14df6fecebb025aff4
source_type
github
headline
testsuite, x86, Darwin: Fix scanasm insn patterns matching asm directives
tldr
Improves `scanasm` pattern matching in Darwin x86 tests to avoid false positives from assembler directives and debug info.
author
Iain Sandoe
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • testsuite
  • • x86
  • • darwin
  • • assembler
discussion_id_link
—
bugzilla_pr
—
date
2026-08-12T00:00:00.000Z

This commit refines scanasm instruction pattern matching in the testsuite for x86 on Darwin systems. Previously, patterns could incorrectly match content within assembler directives or debug frame sections. The fix ensures that matches are more precise by explicitly including or excluding surrounding whitespace and characters, preventing false positives and improving test accuracy.