Re: [PATCH 13/15] Support for 64-bit location_t: Internal parts

2024-11-27 Thread David Malcolm
On Wed, 2024-11-27 at 13:18 -0500, Lewis Hyatt wrote: > On Wed, Nov 27, 2024 at 09:41:13AM -0500, David Malcolm wrote: > > On Wed, 2024-11-27 at 14:56 +0100, Richard Biener wrote: > > > On Sun, Nov 3, 2024 at 11:28 PM Lewis Hyatt > > > wrote: > > > > > > > > Several of the selftests in diagnostic

Re: [PATCH 13/15] Support for 64-bit location_t: Internal parts

2024-11-27 Thread Lewis Hyatt
On Wed, Nov 27, 2024 at 09:41:13AM -0500, David Malcolm wrote: > On Wed, 2024-11-27 at 14:56 +0100, Richard Biener wrote: > > On Sun, Nov 3, 2024 at 11:28 PM Lewis Hyatt wrote: > > > > > > Several of the selftests in diagnostic-show-locus.cc and input.cc > > > are > > > sensitive to linemap inter

Re: [PATCH 13/15] Support for 64-bit location_t: Internal parts

2024-11-27 Thread David Malcolm
On Wed, 2024-11-27 at 14:56 +0100, Richard Biener wrote: > On Sun, Nov 3, 2024 at 11:28 PM Lewis Hyatt wrote: > > > > Several of the selftests in diagnostic-show-locus.cc and input.cc > > are > > sensitive to linemap internals. Adjust them here so they will > > support 64-bit > > location_t if co

Re: [PATCH 13/15] Support for 64-bit location_t: Internal parts

2024-11-27 Thread Lewis Hyatt
On Wed, Nov 27, 2024 at 8:56 AM Richard Biener wrote: > > On Sun, Nov 3, 2024 at 11:28 PM Lewis Hyatt wrote: > > > > Several of the selftests in diagnostic-show-locus.cc and input.cc are > > sensitive to linemap internals. Adjust them here so they will support 64-bit > > location_t if configured.

Re: [PATCH 13/15] Support for 64-bit location_t: Internal parts

2024-11-27 Thread Richard Biener
On Sun, Nov 3, 2024 at 11:28 PM Lewis Hyatt wrote: > > Several of the selftests in diagnostic-show-locus.cc and input.cc are > sensitive to linemap internals. Adjust them here so they will support 64-bit > location_t if configured. > > Likewise, handle 64-bit location_t in the support for > -fdump

[PATCH 13/15] Support for 64-bit location_t: Internal parts

2024-11-03 Thread Lewis Hyatt
Several of the selftests in diagnostic-show-locus.cc and input.cc are sensitive to linemap internals. Adjust them here so they will support 64-bit location_t if configured. Likewise, handle 64-bit location_t in the support for -fdump-internal-locations. As was done with the analyzer, convert to (u