This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/41040] New: -fwide-exec-charset defaults to UCS-4/UCS-2, not UTF-32/UTF-16
- From: "samuel dot thibault at ens-lyon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Aug 2009 08:43:49 -0000
- Subject: [Bug ada/41040] New: -fwide-exec-charset defaults to UCS-4/UCS-2, not UTF-32/UTF-16
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hello, the manual page says `Set the wide execution character set, used for
wide string and character constants. The default is UTF-32 or UTF-16,
whichever corresponds to the width of "wchar_t".' This should read UCS-4 or
UCS-2 instead. See attached program behavior when compiled without
-fwide-exec-charset and with -fwide-exec-charset=UTF-32 , UTF-16, UCS-4 or
UCS-2. Attached patch fixes it. Samuel
--
Summary: -fwide-exec-charset defaults to UCS-4/UCS-2, not UTF-
32/UTF-16
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: samuel dot thibault at ens-lyon dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41040