public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/41041]  New: -fwide-exec-charset defaults to UCS-4/UCS-2, not UTF-32/UTF-16
@ 2009-08-12  8:44 samuel dot thibault at ens-lyon dot org
  2009-08-12  8:45 ` [Bug ada/41041] " samuel dot thibault at ens-lyon dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2009-08-12  8:44 UTC (permalink / raw)
  To: gcc-bugs

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=41041


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug ada/41041] -fwide-exec-charset defaults to UCS-4/UCS-2, not UTF-32/UTF-16
  2009-08-12  8:44 [Bug ada/41041] New: -fwide-exec-charset defaults to UCS-4/UCS-2, not UTF-32/UTF-16 samuel dot thibault at ens-lyon dot org
@ 2009-08-12  8:45 ` samuel dot thibault at ens-lyon dot org
  2009-08-12  8:46 ` samuel dot thibault at ens-lyon dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2009-08-12  8:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from samuel dot thibault at ens-lyon dot org  2009-08-12 08:45 -------
Created an attachment (id=18342)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18342&action=view)
testcase


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41041


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug ada/41041] -fwide-exec-charset defaults to UCS-4/UCS-2, not UTF-32/UTF-16
  2009-08-12  8:44 [Bug ada/41041] New: -fwide-exec-charset defaults to UCS-4/UCS-2, not UTF-32/UTF-16 samuel dot thibault at ens-lyon dot org
  2009-08-12  8:45 ` [Bug ada/41041] " samuel dot thibault at ens-lyon dot org
@ 2009-08-12  8:46 ` samuel dot thibault at ens-lyon dot org
  2009-08-12  8:46 ` samuel dot thibault at ens-lyon dot org
  2009-08-18 12:02 ` ludovic at ludovic-brenta dot org
  3 siblings, 0 replies; 5+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2009-08-12  8:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from samuel dot thibault at ens-lyon dot org  2009-08-12 08:45 -------
Created an attachment (id=18343)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18343&action=view)
fix


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41041


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug ada/41041] -fwide-exec-charset defaults to UCS-4/UCS-2, not UTF-32/UTF-16
  2009-08-12  8:44 [Bug ada/41041] New: -fwide-exec-charset defaults to UCS-4/UCS-2, not UTF-32/UTF-16 samuel dot thibault at ens-lyon dot org
  2009-08-12  8:45 ` [Bug ada/41041] " samuel dot thibault at ens-lyon dot org
  2009-08-12  8:46 ` samuel dot thibault at ens-lyon dot org
@ 2009-08-12  8:46 ` samuel dot thibault at ens-lyon dot org
  2009-08-18 12:02 ` ludovic at ludovic-brenta dot org
  3 siblings, 0 replies; 5+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2009-08-12  8:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from samuel dot thibault at ens-lyon dot org  2009-08-12 08:46 -------
*** Bug 41042 has been marked as a duplicate of this bug. ***


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41041


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug ada/41041] -fwide-exec-charset defaults to UCS-4/UCS-2, not UTF-32/UTF-16
  2009-08-12  8:44 [Bug ada/41041] New: -fwide-exec-charset defaults to UCS-4/UCS-2, not UTF-32/UTF-16 samuel dot thibault at ens-lyon dot org
                   ` (2 preceding siblings ...)
  2009-08-12  8:46 ` samuel dot thibault at ens-lyon dot org
@ 2009-08-18 12:02 ` ludovic at ludovic-brenta dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ludovic at ludovic-brenta dot org @ 2009-08-18 12:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ludovic at ludovic-brenta dot org  2009-08-18 12:01 -------
Please change the component of this PR from "ada" to "c".


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41041


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-18 12:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-12  8:44 [Bug ada/41041] New: -fwide-exec-charset defaults to UCS-4/UCS-2, not UTF-32/UTF-16 samuel dot thibault at ens-lyon dot org
2009-08-12  8:45 ` [Bug ada/41041] " samuel dot thibault at ens-lyon dot org
2009-08-12  8:46 ` samuel dot thibault at ens-lyon dot org
2009-08-12  8:46 ` samuel dot thibault at ens-lyon dot org
2009-08-18 12:02 ` ludovic at ludovic-brenta 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).