Re: [PATCH 03/15] tree-cfg: Fix call to next_discriminator_for_locus()

2024-11-20 Thread Richard Biener
On Sun, Nov 3, 2024 at 11:23 PM Lewis Hyatt wrote: > > While testing 64-bit location_t support, I ran into an -fcompare-debug issue > that was traced back here. Despite the name, next_discriminator_for_locus() > is meant to take an integer line number argument, not a location_t. There is > one cal

[PATCH 03/15] tree-cfg: Fix call to next_discriminator_for_locus()

2024-11-03 Thread Lewis Hyatt
While testing 64-bit location_t support, I ran into an -fcompare-debug issue that was traced back here. Despite the name, next_discriminator_for_locus() is meant to take an integer line number argument, not a location_t. There is one call site which has been passing a location_t instead. For the mo