OSDN Git Service

gcc/testsuite:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Aug 2011 15:13:49 +0000 (15:13 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Aug 2011 15:13:49 +0000 (15:13 +0000)
commit6f6f3dd798738815810f5c983ba666b6552cbd57
tree08a78c5cfab58cc36bb826b78a1902d8f7e41149
parent50fefeb7aa2c784cb5ff3d534ce53d0bcbb0ee4d
gcc/testsuite:
* gcc.dg/c1x-uni-string-1.c, gcc.dg/c1x-uni-string-2.c: New tests.

libcpp:
* include/cpplib.h (struct cpp_options): Add rliterals.
* init.c  (struct lang_flags, lang_defaults): Add rliterals.
(cpp_set_lang): Set rliterals option.
(cpp_init_builtins): Define __STDC_UTF_16__ and __STDC_UTF_32__.
* lex.c (_cpp_lex_direct): Only accept raw strings if rliterals.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177868 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c1x-uni-string-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/c1x-uni-string-2.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/include/cpplib.h
libcpp/init.c
libcpp/lex.c