Landing: b5b0203b8c3b
Project / Subsystem
gcc / testsuite
Date
2026-08-04
Author
Jakub Jelinek
Commit
b5b0203b8c3b7cee4e65a09e4443f948dee434b4
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- testsuite
- patch_id
- —
- commit_hash
- b5b0203b8c3b7cee4e65a09e4443f948dee434b4
- source_type
- github
- headline
- testsuite: Fix up gcc.dg/pr126464.c test.
- tldr
- Test case for floating-point constants now guards against representability issues on different architectures.
- author
- Jakub Jelinek
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • testsuite
- • floating-point
- • portability
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-04T00:00:00.000Z
This commit corrects a test case in the GCC testsuite (gcc.dg/pr126464.c) that was causing failures due to floating-point constants exceeding the representable range of long double on certain architectures. The fix adds preprocessor checks to ensure that such constants are only used when they are actually representable by the target’s floating-point types, preventing spurious test failures.