Landing: a5bb49ce5649
Project / Subsystem
gcc / gcc/testsuite
Date
2026-06-01
Author
Iain Sandoe
Commit
a5bb49ce5649751a96b63c1b96d1fde22ede564b
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/testsuite
- patch_id
- —
- commit_hash
- a5bb49ce5649751a96b63c1b96d1fde22ede564b
- source_type
- github
- headline
- Fix spurious fails in mk*temp* tests on Darwin
- tldr
- GCC test suite now correctly handles temporary file creation functions by including both necessary headers and addressing deprecation warnings on Darwin.
- author
- Iain Sandoe
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • testsuite
- • darwin
- • fix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-01T00:00:00.000Z
The GCC test suite previously exhibited spurious failures on Darwin when testing functions like mkdtemp and mkstemps. This commit resolves these issues by ensuring that stdlib.h and unistd.h are both included, as these functions may be declared in either header. Additionally, it adds handling for deprecation warnings that Darwin emits for mktemp.