Landing: ece10cd6b6b9

Project / Subsystem

gcc / aarch64

Date

2023-10-20

Author

Iain Sandoe

Commit

ece10cd6b6b9bb74fd0574492af09f7f0fa1d8bf

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
aarch64
patch_id
commit_hash
ece10cd6b6b9bb74fd0574492af09f7f0fa1d8bf
source_type
github
headline
AArch64 assembler bug workaround becomes configurable in GCC.
tldr
GCC for AArch64 now allows configuring a workaround for an assembler bug, resolving conflicting issues across different assemblers.
author
Iain Sandoe
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • aarch64
  • assembler
  • workaround
  • configuration
discussion_id_link
bugzilla_pr
date
2023-10-20T00:00:00.000Z

This commit makes a workaround for a specific assembler bug on AArch64 configurable within GCC. Some assemblers require the +crc flag to be emitted even when the base architecture inherently supports it, while other assemblers encounter a different bug when this flag is present. By making this behavior configurable in aarch64-common.cc, developers can now enable or disable the workaround as needed to ensure correct assembly generation across various AArch64 toolchains, preventing compilation failures caused by assembler inconsistencies.