[Bug preprocessor/108900] [libcpp] cpp gives wrong line number information with a file huge number of lines

2024-11-18 Thread ovidiu.panait at windriver dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108900 --- Comment #8 from Ovidiu Panait --- Jeremy, could you please consider sending the fix in comment 6 to the gcc-patches mailing list, to try to get the fix merged? It would be very useful to finally have an official fix for this corner case.

[Bug preprocessor/108900] [libcpp] cpp gives wrong line number information with a file huge number of lines

2024-11-12 Thread ovidiu.panait at windriver dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108900 --- Comment #7 from Ovidiu Panait --- For reference, the patch proposed in comment 6 also fixes the testcase [1]. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116047#c0

[Bug preprocessor/116047] C preprocessor bug

2024-07-24 Thread ovidiu.panait at windriver dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116047 --- Comment #5 from Ovidiu Panait --- (In reply to Jakub Jelinek from comment #1) > The compiler represents locations and even location ranges as 32-bit > integers, so for normally sized sources can encode both line and column and > range inform

[Bug preprocessor/116047] New: C preprocessor bug

2024-07-23 Thread ovidiu.panait at windriver dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116047 Bug ID: 116047 Summary: C preprocessor bug Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assign