diff options
| author | Lewis Hyatt <lhyatt@gmail.com> | 2024-12-06 19:01:37 -0500 |
|---|---|---|
| committer | Lewis Hyatt <lhyatt@gcc.gnu.org> | 2024-12-06 19:01:37 -0500 |
| commit | 85018b146cd30a4a594b46cdb0e3683c8e908568 (patch) | |
| tree | 11984ad9bd2874dbcfae27110330f23d7953bf54 /libcpp | |
| parent | 5c8b978817539c5a254fc778ed926a1095aab721 (diff) | |
Support for 64-bit location_t: libgdiagnostics parts
Tweak libgdiagnostics.cc, which is necessarily sensitive to line-map
internals, to support 64-bit location_t as well.
gcc/ChangeLog:
* libgdiagnostics.cc (struct diagnostic_manager): Use location_t(-1)
instead of UINT_MAX to support 64-bit location_t as well.
(diagnostic_manager::diagnostic_manager): Change hard-coded "5" to
line_map_suggested_range_bits.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions
