Re: [PATCH] diagnostics: Make line-ending logic consistent with libcpp [PR91733]

2022-07-08 Thread David Malcolm via Gcc-patches
On Thu, 2022-07-07 at 21:56 -0400, Lewis Hyatt wrote: > Hello- > > The PR (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91733) points > out that, > while libcpp recognizes a lone '\r' as a valid line-ending character, > the > infrastructure that obtains source lines to be printed in diagnostics >

[PATCH] diagnostics: Make line-ending logic consistent with libcpp [PR91733]

2022-07-07 Thread Lewis Hyatt via Gcc-patches
Please let me know if it looks OK, thanks! bootstrap + regtest all languages looks good, with just new PASSes for the new testcase. FAIL 103 103 PASS 543592 543627 UNSUPPORTED 15298 15298 UNTESTED 136 136 XFAIL 4130 4130 XPASS 20 20 -Lewis [PATCH] diagnostics: Make line-ending logic consistent