Re: [PATCH v4] libcpp: Fix incorrect line numbers in large files [PR108900]

2025-03-17 Thread Jason Merrill
On 3/14/25 12:00 PM, yash.shi...@windriver.com wrote: From: Jeremy Bettis This patch addresses an issue in the C preprocessor where incorrect line number information is generated when processing files with a large number of lines. The problem arises from improper handling of location intervals

[PATCH v4] libcpp: Fix incorrect line numbers in large files [PR108900]

2025-03-14 Thread Yash . Shinde
From: Jeremy Bettis This patch addresses an issue in the C preprocessor where incorrect line number information is generated when processing files with a large number of lines. The problem arises from improper handling of location intervals in the line map, particularly when locations exceed LINE