public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/41698] "\uFFFF" converts incorrectly to two-byte character Date: Sat, 29 Nov 2014 01:56:00 -0000 [thread overview] Message-ID: <bug-41698-4-1Nxulp3OjX@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-41698-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41698 --- Comment #4 from Joseph S. Myers <jsm28 at gcc dot gnu.org> --- Author: jsm28 Date: Sat Nov 29 01:56:06 2014 New Revision: 218179 URL: https://gcc.gnu.org/viewcvs?rev=218179&root=gcc&view=rev Log: 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. Added: trunk/gcc/testsuite/g++.dg/cpp/utf16-pr41698-1.C Modified: trunk/gcc/testsuite/ChangeLog trunk/libcpp/ChangeLog trunk/libcpp/charset.c
next parent reply other threads:[~2014-11-29 1:56 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-41698-4@http.gcc.gnu.org/bugzilla/> 2014-11-29 1:56 ` jsm28 at gcc dot gnu.org [this message] 2014-11-29 1:57 ` jsm28 at gcc dot gnu.org 2009-10-13 21:00 [Bug c/41698] New: " chasonr at newsguy dot com 2009-10-14 10:34 ` [Bug preprocessor/41698] " rguenth at gcc dot gnu dot org 2009-11-22 19:28 ` jsm28 at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-41698-4-1Nxulp3OjX@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).