Landing: 87f0b4e17f79
Project / Subsystem
gcc / gcc/testsuite
Date
2026-08-26
Author
Georg-Johann Lay
Commit
87f0b4e17f798d1e273f89e6c43f1df83fb5133f
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/testsuite
- patch_id
- —
- commit_hash
- 87f0b4e17f798d1e273f89e6c43f1df83fb5133f
- source_type
- github
- headline
- Fixes PR49330 test case by using __UINTPTR_TYPE__.
- tldr
- Corrects a test case by replacing unsigned long with __UINTPTR_TYPE__ to fix a pointer-to-integer cast warning.
- author
- Georg-Johann Lay
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • testsuite
- • type safety
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-26T00:00:00.000Z
A test case in PR49330 failed with a warning about casting a pointer to an integer of a different size because it used unsigned long instead of __UINTPTR_TYPE__. This commit rectifies the test by using the appropriate type, resolving the warning and addressing PR49330 and PR52641.