Landing: 3dfe871a2cdc

Project / Subsystem

gcc / gcc

Date

2026-05-18

Author

Thomas Schwinge

Commit

3dfe871a2cdc7db2645fcdf21a2ff0c081e051af

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
3dfe871a2cdc7db2645fcdf21a2ff0c081e051af
source_type
github
headline
Remove HAVE_GNU_AS: Adjust for GCN assembler ('llvm-mc')
tldr
GCC's GCN target now correctly uses 'llvm-mc' as its assembler, resolving issues with the '-v' driver option.
author
Thomas Schwinge
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • GCN
  • assembler
  • driver
discussion_id_link
bugzilla_pr
date
2026-05-18T00:00:00.000Z

This commit adjusts GCC’s configuration to properly handle the GCN target, which uses LLVM’s ‘llvm-mc’ as its assembler instead of GNU’s as. A previous commit removed the HAVE_GNU_AS check without accounting for this GCN-specific assembler setup. Consequently, GCC incorrectly passed the ‘-v’ driver option to ‘llvm-mc’, causing assembly failures and test regressions. The fix defines ASM_V_SPEC for the GCN target to prevent this incorrect option forwarding.