-
- Downloads
"git@gitlab.cobolworx.com:COBOLworx/gcc-cobol.git" did not exist on "efecb298d880cda20f8d7bea2d7b500a9752ce56"
libcpp: Enable P1949R7 for C++11 and up as it was a DR [PR100977]
Jonathan mentioned on IRC that: "Accept P1949R7 (C++ Identifier Syntax using Unicode Standard Annex 31) as a Defect Report and apply the changes therein to the C++ working paper." while I've actually implemented it only for -std={gnu,c}++{23,2b}. As the C++98 rules were significantly different, I'm not trying to change anything for C++98. 2021-11-30 Jakub Jelinek <jakub@redhat.com> PR c++/100977 * init.c (lang_defaults): Enable cxx23_identifiers for -std={gnu,c}++{11,14,17,20} too. * c-c++-common/cpp/ucnid-2011-1-utf8.c: Expect errors in C++. * c-c++-common/cpp/ucnid-2011-1.c: Likewise. * g++.dg/cpp/ucnid-4-utf8.C: Add missing space to dg-options. * g++.dg/cpp23/normalize3.C: Enable for c++11 rather than just c++23. * g++.dg/cpp23/normalize4.C: Likewise. * g++.dg/cpp23/normalize5.C: Likewise. * g++.dg/cpp23/normalize7.C: Expect errors rather than just warnings for c++11 and up rather than just c++23. * g++.dg/cpp23/ucnid-2-utf8.C: Expect errors even for c++11 .. c++20.
Showing
- gcc/testsuite/c-c++-common/cpp/ucnid-2011-1-utf8.c 3 additions, 3 deletionsgcc/testsuite/c-c++-common/cpp/ucnid-2011-1-utf8.c
- gcc/testsuite/c-c++-common/cpp/ucnid-2011-1.c 3 additions, 3 deletionsgcc/testsuite/c-c++-common/cpp/ucnid-2011-1.c
- gcc/testsuite/g++.dg/cpp/ucnid-4-utf8.C 1 addition, 1 deletiongcc/testsuite/g++.dg/cpp/ucnid-4-utf8.C
- gcc/testsuite/g++.dg/cpp23/normalize3.C 1 addition, 1 deletiongcc/testsuite/g++.dg/cpp23/normalize3.C
- gcc/testsuite/g++.dg/cpp23/normalize4.C 1 addition, 1 deletiongcc/testsuite/g++.dg/cpp23/normalize4.C
- gcc/testsuite/g++.dg/cpp23/normalize5.C 1 addition, 1 deletiongcc/testsuite/g++.dg/cpp23/normalize5.C
- gcc/testsuite/g++.dg/cpp23/normalize7.C 2 additions, 4 deletionsgcc/testsuite/g++.dg/cpp23/normalize7.C
- gcc/testsuite/g++.dg/cpp23/ucnid-2-utf8.C 7 additions, 7 deletionsgcc/testsuite/g++.dg/cpp23/ucnid-2-utf8.C
- libcpp/init.c 8 additions, 8 deletionslibcpp/init.c
Loading
Please register or sign in to comment