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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |preprocessor

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
```
      cpp_diagnostic_level level = CPP_DL_WARNING;
      unsigned src_chars
        = count_source_chars (pfile, token->val.str, CPP_CHAR);

      if (CPP_OPTION (pfile, cplusplus)
          && (type == CPP_CHAR16
              || type == CPP_CHAR32
              /* In C++23 this is error even for L'ab'.  */
              || (type == CPP_WCHAR
                  && CPP_OPTION (pfile, size_t_literals))))
        level = CPP_DL_ERROR;

```

Reply via email to