Landing: 70e44500923c
Project / Subsystem
gcc / gcc/testsuite
Date
2026-08-27
Author
Jakub Jelinek
Commit
70e44500923c921f9a5e9ba98e3c5c7e35ff34e5
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/testsuite
- patch_id
- —
- commit_hash
- 70e44500923c921f9a5e9ba98e3c5c7e35ff34e5
- source_type
- github
- headline
- Add C++26 #line directive tests
- tldr
- New test cases verify compiler adherence to C++26 standard for the #line directive.
- author
- Jakub Jelinek
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • c++
- • testsuite
- • preprocessor
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-27T00:00:00.000Z
This commit introduces new test cases for the C++26 standard’s P4136R2 concerning the #line directive. The tests ensure that GCC’s implementation aligns with the standard’s requirements for line and column number reporting, particularly regarding out-of-range values, and confirms its behavior as conditionally supported or ill-formed as per the standard.