public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/41698] "\uFFFF" converts incorrectly to two-byte character
[not found] <bug-41698-4@http.gcc.gnu.org/bugzilla/>
@ 2014-11-29 1:56 ` jsm28 at gcc dot gnu.org
2014-11-29 1:57 ` jsm28 at gcc dot gnu.org
1 sibling, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2014-11-29 1:56 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug preprocessor/41698] "\uFFFF" converts incorrectly to two-byte character
[not found] <bug-41698-4@http.gcc.gnu.org/bugzilla/>
2014-11-29 1:56 ` [Bug preprocessor/41698] "\uFFFF" converts incorrectly to two-byte character jsm28 at gcc dot gnu.org
@ 2014-11-29 1:57 ` jsm28 at gcc dot gnu.org
1 sibling, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2014-11-29 1:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41698
Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |5.0
--- Comment #5 from Joseph S. Myers <jsm28 at gcc dot gnu.org> ---
Fixed for GCC 5.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug preprocessor/41698] "\uFFFF" converts incorrectly to two-byte character
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
1 sibling, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-11-22 19:28 UTC (permalink / raw)
To: gcc-bugs
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-11-22 19:28:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41698
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug preprocessor/41698] "\uFFFF" converts incorrectly to two-byte character
2009-10-13 21:00 [Bug c/41698] New: " chasonr at newsguy dot com
@ 2009-10-14 10:34 ` rguenth at gcc dot gnu dot org
2009-11-22 19:28 ` jsm28 at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-14 10:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-14 10:34 -------
Please post patches to gcc-patches@gcc.gnu.org.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41698
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-29 1:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-41698-4@http.gcc.gnu.org/bugzilla/>
2014-11-29 1:56 ` [Bug preprocessor/41698] "\uFFFF" converts incorrectly to two-byte character jsm28 at gcc dot gnu.org
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
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).