[Bug c++/59873] The value of char32_t U'\u0000' and char16_t u'\u000' is 1, instead of 0.
wjl at icecavern dot net
gcc-bugzilla@gcc.gnu.org
Sat Jan 18 23:47:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59873
Wesley J. Landaker <wjl at icecavern dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |http://llvm.org/bugs/show_b
| |ug.cgi?id=18535
--- Comment #7 from Wesley J. Landaker <wjl at icecavern dot net> ---
(In reply to Andreas Schwab from comment #6)
> \u0000 is only malformed outside of string and char literals, eg. in
> identifiers.
In that case, it sounds like my original issue of U'\u0000' == 1 is still the
real bug.
(Aside for those who care about clang): Based on Marc's comment and what I read
in the linked source code, I reported an issue to clang (see the see also bug),
believing that perhaps this was a bug in their compiler as well but I may have
done so in error, if this is only a gcc issue as I originally believed.
More information about the Gcc-bugs
mailing list