public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5168: wrong memory representation of special wchar_t characters like "®" (the registered trademark sign)
@ 2002-07-06  7:35 lerdsuwa
  0 siblings, 0 replies; 5+ messages in thread
From: lerdsuwa @ 2002-07-06  7:35 UTC (permalink / raw)
  To: Volker.Denkhaus, Wolfgang.Stuehlmeyer

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

Synopsis: wrong memory representation of special wchar_t characters like "®" (the registered trademark sign)

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Sat Jul  6 07:35:54 2002
State-Changed-Why:
    Fixed in GCC 3.1.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5168


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

* Re: c++/5168: wrong memory representation of special wchar_t characters like "®" (the registered trademark sign)
@ 2001-12-21  6:57 neil
  0 siblings, 0 replies; 5+ messages in thread
From: neil @ 2001-12-21  6:57 UTC (permalink / raw)
  To: Volker.Denkhaus, Wolfgang.Stuehlmeyer

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

Synopsis: wrong memory representation of special wchar_t characters like "®" (the registered trademark sign)

State-Changed-From-To: closed->open
State-Changed-By: neil
State-Changed-When: Fri Dec 21 06:57:40 2001
State-Changed-Why:
    Actually, I'll leave this in open state for someone with
    an Itanium.  Bu tI don't understand why you're casting to a long; I imagine they're 64 bit.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5168


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

* Re: c++/5168: wrong memory representation of special wchar_t characters like "®" (the registered trademark sign)
@ 2001-12-21  6:51 neil
  0 siblings, 0 replies; 5+ messages in thread
From: neil @ 2001-12-21  6:51 UTC (permalink / raw)
  To: Volker.Denkhaus, Wolfgang.Stuehlmeyer

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 375 bytes --]

Synopsis: wrong memory representation of special wchar_t characters like "®" (the registered trademark sign)

State-Changed-From-To: feedback->closed
State-Changed-By: neil
State-Changed-When: Fri Dec 21 06:51:29 2001
State-Changed-Why:
    Not a bug.  Why are you dumping a 64-bit value?

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5168


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

* Re: c++/5168: wrong memory representation of special wchar_t characters like "®" (the registered trademark sign)
@ 2001-12-21  2:44 neil
  0 siblings, 0 replies; 5+ messages in thread
From: neil @ 2001-12-21  2:44 UTC (permalink / raw)
  To: Volker.Denkhaus, Wolfgang.Stuehlmeyer

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 398 bytes --]

Synopsis: wrong memory representation of special wchar_t characters like "®" (the registered trademark sign)

State-Changed-From-To: open->feedback
State-Changed-By: neil
State-Changed-When: Fri Dec 21 02:44:42 2001
State-Changed-Why:
    Where is the code?  Please cc gcc-gnats@gcc.gnu.org with it;
    not me.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5168


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

* c++/5168: wrong memory representation of special wchar_t characters like "®" (the registered trademark sign)
@ 2001-12-21  1:56 Volker.Denkhaus
  0 siblings, 0 replies; 5+ messages in thread
From: Volker.Denkhaus @ 2001-12-21  1:56 UTC (permalink / raw)
  To: gcc-gnats; +Cc: Wolfgang.Stuehlmeyer

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]


>Number:         5168
>Category:       c++
>Synopsis:       wrong memory representation of special wchar_t characters like "®" (the registered trademark sign)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 21 01:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Volker Denkhaus
>Release:        gcc 3.0.2 for RedHat 7.1 Itanium-64
>Organization:
>Environment:
RedHat 7.1, gcc 3.0.2, libc 2.2.3
>Description:
We have a sample program ftped from a Windows machine. It uses special characters above ASCII 128 like the registered trademark characters 0xae. If we define a wchar_t variables and assign this character the pointer to the variable shows a value 0xffffffae. With Linux S/390 and x86 it works fine and the value is 0xae as expected. I attach the sample program.
>How-To-Repeat:
g++ -g -o test wchar.cxx;
run ./test to see the output
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-07-06 14:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-06  7:35 c++/5168: wrong memory representation of special wchar_t characters like "®" (the registered trademark sign) lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2001-12-21  6:57 neil
2001-12-21  6:51 neil
2001-12-21  2:44 neil
2001-12-21  1:56 Volker.Denkhaus

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).