gcc/libcpp
Joseph Myers 81fee4a708 Fix off-by-one bug in utf16 conversion (PR preprocessor/41698).
libcpp:
2014-11-29  John Schmerge  <jbschmerge@gmail.com>

	PR preprocessor/41698
	* charset.c (one_utf8_to_utf16): Do not produce surrogate pairs
	for 0xffff.

gcc/testsuite:
2014-11-29  Joseph Myers  <joseph@codesourcery.com>

	PR preprocessor/41698
	* gcc/testsuite/g++.dg/cpp/utf16-pr41698-1.C: New test.

From-SVN: r218179
2014-11-29 01:56:06 +00:00
..
include line-map.h: Include EXPR, so that unused variable warnings do not occur. 2014-11-13 10:46:56 +00:00
po * ja.po: Update. 2014-11-07 12:45:36 +00:00
aclocal.m4 Undo inadvertent commit in rev 160105. 2010-06-01 10:20:24 -04:00
ChangeLog Fix off-by-one bug in utf16 conversion (PR preprocessor/41698). 2014-11-29 01:56:06 +00:00
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
charset.c Fix off-by-one bug in utf16 conversion (PR preprocessor/41698). 2014-11-29 01:56:06 +00:00
config.in configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
configure configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
configure.ac configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
directives-only.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
directives.c cpplib.h (cpp_callbacks): Add has_attribute. 2014-11-10 15:53:12 +00:00
errors.c re PR preprocessor/58893 (<command-line>:0:0: internal compiler error: Segmentation fault) 2014-09-30 16:08:53 +00:00
expr.c cpplib.h (cpp_callbacks): Add has_attribute. 2014-11-10 15:53:12 +00:00
files.c gengtype.h (obstack_chunk_alloc, [...]): Remove cast. 2014-10-22 12:11:31 +10:30
identifiers.c cpplib.h (cpp_callbacks): Add has_attribute. 2014-11-10 15:53:12 +00:00
init.c Enable -fextended-identifiers by default. 2014-11-05 16:19:10 +00:00
internal.h cpplib.h (cpp_callbacks): Add has_attribute. 2014-11-10 15:53:12 +00:00
lex.c re PR target/63966 (inconsistent operand constraints compiling build libcpp) 2014-11-20 13:10:12 +01:00
line-map.c re PR preprocessor/60436 (C preprocessor segfaults on assembly file) 2014-11-25 12:16:27 +01:00
macro.c Preserve original spellings of extended identifiers. 2014-11-06 21:08:52 +00:00
Makefile.in Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
makeucnid.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
mkdeps.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
pch.c cpplib.h (cpp_callbacks): Add has_attribute. 2014-11-10 15:53:12 +00:00
symtab.c gengtype.h (obstack_chunk_alloc, [...]): Remove cast. 2014-10-22 12:11:31 +10:30
system.h Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
traditional.c cpplib.h (cpp_callbacks): Add has_attribute. 2014-11-10 15:53:12 +00:00
ucnid.h Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
ucnid.tab Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00