https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118737
Bug ID: 118737
Summary: preprocessor should error out right if one of the
first few bytes is not a recognized character
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: enhancement
Priority: P3
Component: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
I run into this ever once in a while when I forgot uncompress and then I get a
stream of error messages and even worse since the diagnostic will print out
escape characters the termininal goes into an odd state (where only reset
command can get it out of that).
This shows up with almost all front-ends and I am not sure if preprocessor is
the correct component because of that.