Landing: 54ddb5ff8b91
Project / Subsystem
gcc / testsuite
Date
2026-05-15
Author
Jakub Jelinek
Commit
54ddb5ff8b91bf518e69ed9221ed4530e7ad55af
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- testsuite
- patch_id
- —
- commit_hash
- 54ddb5ff8b91bf518e69ed9221ed4530e7ad55af
- source_type
- github
- headline
- Adds a testcase for consteval-only types.
- tldr
- A new test case was added to ensure that consteval-only type computations in GCC are not quadratic in complexity.
- author
- Jakub Jelinek
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • testsuite
- • c++
- • consteval
- • performance
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-15T00:00:00.000Z
A new test case, g++.dg/reflect/pr125179.C, was added to the GCC testsuite to verify that computations involving consteval-only types do not exhibit quadratic complexity. This test creates a loop with 50000 types which could cause a timeout with an earlier quadratic implementation.