Landing: 1c03a15e0979

Project / Subsystem

gcc / darwin

Date

2026-08-11

Author

Iain Sandoe

Commit

1c03a15e0979c76a33276cbf498379084896cd06

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
darwin
patch_id
—
commit_hash
1c03a15e0979c76a33276cbf498379084896cd06
source_type
github
headline
Darwin: Make all string constant labels linker-visible.
tldr
Darwin backend makes all string constants linker-visible, improving consistency with other platforms like aarch64.
author
Iain Sandoe
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • darwin
  • • linker
  • • strings
discussion_id_link
—
bugzilla_pr
—
date
2026-08-11T00:00:00.000Z

The Darwin backend for GCC now makes all string constant labels linker-visible, a change that aligns its behavior with the aarch64 strategy and aims for greater consistency. While this may result in a slight efficiency loss for x86_64, it addresses issues related to the linker visibility of string constants, as reported in PR126723. This ensures that string literals are reliably available to the linker.