Landing: 035b9b767901

Project / Subsystem

gcc / gcc

Date

2026-09-05

Author

Iain Sandoe

Commit

035b9b7679016a1cef95df51c170b1cf50c2c3ee

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
035b9b7679016a1cef95df51c170b1cf50c2c3ee
source_type
github
headline
testsuite: Allow undefined symbols in Darwin LTO test.
tldr
Modifies a Darwin LTO test to permit two undefined symbols, aligning with the linker's behavior for shared objects.
author
Iain Sandoe
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • testsuite
  • • Darwin
  • • LTO
  • • linker
discussion_id_link
—
bugzilla_pr
—
date
2026-09-05T00:00:00.000Z

A Link-Time Optimization test case (pr99849_0.c) on Darwin is updated to allow two undefined symbols during static linking. This change accommodates Darwin’s linker default behavior, which typically requires all symbols to be resolved at static link time for shared objects.