[Bug c/110654] inconsistent error message in presence of unexpected encoded characters

2023-07-14 Thread drepper.fsp+rhbz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110654 --- Comment #2 from Ulrich Drepper --- (In reply to Andrew Pinski from comment #1) > So this is due to differences in the languages themselves rather than due to > C vs C++ front-end ... This is certainly true for the validation. But the stand

[Bug c/110654] inconsistent error message in presence of unexpected encoded characters

2023-07-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110654 --- Comment #1 from Andrew Pinski --- libccp has: /* In C++, this is an error for invalid character in an identifier because logically, the UTF-8 was converted to a UCN during translation phase 1 (even though