Landing: e06a4a3bedb8
Project / Subsystem
gcc / mingw
Date
2026-05-08
Author
LIU Hao
Commit
e06a4a3bedb86b6866da851f256ecf1f072ecf2c
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- mingw
- patch_id
- —
- commit_hash
- e06a4a3bedb86b6866da851f256ecf1f072ecf2c
- source_type
- github
- headline
- MinGW: Quote symbols in Intel syntax to avoid misinterpretation.
- tldr
- This commit ensures that symbols are properly quoted in Intel syntax when using the MinGW compiler, resolving errors where symbols were misinterpreted as opera…
- author
- LIU Hao
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • mingw
- • assembler
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-08T00:00:00.000Z
When compiling for MinGW targets using Intel syntax, symbols with names that conflicted with Intel assembler operators (like shl) were being misinterpreted, leading to compilation errors. This commit fixes the issue by using ASM_OUTPUT_LABELREF to ensure that symbols are properly quoted, preventing them from being treated as operators. This ensures correct code generation when using Intel assembly syntax with MinGW.