https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53690
--- Comment #10 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Thu Jul 2 18:54:41 2015 New Revision: 225353 URL: https://gcc.gnu.org/viewcvs?rev=225353&root=gcc&view=rev Log: /libcpp 2015-07-02 Paolo Carlini <paolo.carl...@oracle.com> PR c++/53690 * charset.c (_cpp_valid_ucn): Add cppchar_t * parameter and change return type to bool. Fix encoding of \u0000 and \U00000000 in C++. (convert_ucn): Adjust call. * lex.c (forms_identifier_p): Likewise. * internal.h (_cpp_valid_ucn): Adjust declaration. /gcc/testsuite 2015-07-02 Paolo Carlini <paolo.carl...@oracle.com> PR c++/53690 * g++.dg/cpp/pr53690.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp/pr53690.C Modified: trunk/gcc/testsuite/ChangeLog trunk/libcpp/ChangeLog trunk/libcpp/charset.c trunk/libcpp/internal.h trunk/libcpp/lex.c