Landing: 277c0c3e1a73

Project / Subsystem

gcc / testsuite

Date

2026-09-04

Author

Iain Sandoe

Commit

277c0c3e1a73f976a7437f69087bc3d1f72e54e5

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
testsuite
patch_id
—
commit_hash
277c0c3e1a73f976a7437f69087bc3d1f72e54e5
source_type
github
headline
testsuite, analyzer, Darwin: Handle missing O_CLOEXEC on older OS versions.
tldr
Darwin analyzer tests now handle older OS versions lacking O_CLOEXEC.
author
Iain Sandoe
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • testsuite
  • • analyzer
  • • darwin
  • • compatibility
discussion_id_link
—
bugzilla_pr
—
date
2026-09-04T00:00:00.000Z

GCC’s testsuite for the analyzer on Darwin now correctly handles older operating system versions that do not define the O_CLOEXEC flag. The tests mkostemp-1.c and mkostemps-1.c have been updated to provide a dummy definition for O_CLOEXEC when it’s missing, ensuring compatibility back to Darwin 9.