https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103902

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-01-04
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |preprocessor

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>From libcpp/lex.c:
      /* Grab user defined literal suffix.  */
      else if (ISIDST (*pos))
        {
          type = cpp_userdef_string_add_type (type);
          ++pos;

          while (ISIDNUM (*pos))
            ++pos;
        }


Hmm, that looks wrong for non-ASCII codes.

I suspect the preprocessor/lexer has other issues with non-ASCII code in other
areas too.

Reply via email to