Landing: b524a89412c6
Project / Subsystem
gcc / gcc
Date
2026-09-01
Author
Georg-Johann Lay
Commit
b524a89412c6b2e221ec60e052d54de0134caa4a
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- b524a89412c6b2e221ec60e052d54de0134caa4a
- source_type
- github
- headline
- Fix PR126536 test with __INT32_TYPE__ for function arguments.
- tldr
- Corrected PR126536 test to use __INT32_TYPE__ for a function argument susceptible to overflow.
- author
- Georg-Johann Lay
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • testsuite
- • fix
- • type
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-01T00:00:00.000Z
This commit fixes the PR126536-1.c test case by ensuring that the argument passed to function ‘f’ is explicitly of type __INT32_TYPE__. The test previously failed with overflow warnings when converting long int to int, indicating that the function argument was expected to be 32-bit, but the default int type on the target was smaller. This change resolves the overflow issue and associated warnings.