[Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code

2017-03-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79980 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code

2017-03-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79980 --- Comment #11 from Jonathan Wakely --- Author: redi Date: Fri Mar 17 19:28:42 2017 New Revision: 246247 URL: https://gcc.gnu.org/viewcvs?rev=246247&root=gcc&view=rev Log: Backport fixes from trunk Fix alignment bugs in std::codecvt_utf16

[Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code

2017-03-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79980 --- Comment #10 from Jonathan Wakely --- Author: redi Date: Fri Mar 17 19:28:29 2017 New Revision: 246246 URL: https://gcc.gnu.org/viewcvs?rev=246246&root=gcc&view=rev Log: Backport fixes from trunk Fix alignment bugs in std::codecvt_utf16

[Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code

2017-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79980 --- Comment #9 from Jonathan Wakely --- Author: redi Date: Thu Mar 16 17:22:47 2017 New Revision: 246205 URL: https://gcc.gnu.org/viewcvs?rev=246205&root=gcc&view=rev Log: PR libstdc++/79980 fix target type of cast PR libstdc++/79980

[Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code

2017-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79980 --- Comment #8 from Jonathan Wakely --- Yes, in about 60 seconds. There's no need to revert anything.

[Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code

2017-03-16 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79980 --- Comment #7 from Steve Kargl --- On Thu, Mar 16, 2017 at 05:13:51PM +, redi at gcc dot gnu.org wrote: > > --- Comment #6 from Jonathan Wakely --- > It's just a dumb error where I used a typedef that was previously defined, the > fix is:

[Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code

2017-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79980 --- Comment #6 from Jonathan Wakely --- It's just a dumb error where I used a typedef that was previously defined, the fix is: static underlying_type::type to_integer(codecvt_mode m) { return static_cast::type>(m); }

[Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code

2017-03-16 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79980 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code

2017-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79980 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Thu Mar 16 15:27:51 2017 New Revision: 246200 URL: https://gcc.gnu.org/viewcvs?rev=246200&root=gcc&view=rev Log: PR libstdc++/79980 fix BOM detection, maxcode checks, UCS2 handling

[Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code

2017-03-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79980 --- Comment #3 from Jonathan Wakely --- Patch posted to https://gcc.gnu.org/ml/gcc-patches/2017-03/msg00675.html Will be committed for stage 1

[Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code

2017-03-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79980 --- Comment #2 from Jonathan Wakely --- Apparently so is min vs max: maxcode = std::max(max_single_utf16_unit, maxcode);

[Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code

2017-03-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79980 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|