public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* gcc bug adds ^q to 12 character words
@ 2004-02-10 18:36 Tom Bradley
2004-02-10 23:56 ` Jim Wilson
0 siblings, 1 reply; 2+ messages in thread
From: Tom Bradley @ 2004-02-10 18:36 UTC (permalink / raw)
To: gcc-bugs
Attached is a simple tree I am trying to code but fails on ONLY 12 character
words. I compiled with gcc 3.3.1 under suse9.0 and all the 12 character words
have a ^Q added. It only adds the "^Q" when looking up the word, inside the
find function. I check the node after inserting, in the add function, and it
is fine. On 3.3 under suse 8.2 it works just fine. On gcc 3.2.3 on debian it
fails. All three systems were different kernels and computers.
I have tried different word files as well as different hash functions with
same results.
Has anyone seen this before?
Tom Bradley
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gcc bug adds ^q to 12 character words
2004-02-10 18:36 gcc bug adds ^q to 12 character words Tom Bradley
@ 2004-02-10 23:56 ` Jim Wilson
0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2004-02-10 23:56 UTC (permalink / raw)
To: Tom Bradley; +Cc: gcc-bugs
Tom Bradley wrote:
> Attached is a simple tree I am trying to code but fails on ONLY 12 character
> words. I compiled with gcc 3.3.1 under suse9.0 and all the 12 character words
> have a ^Q added.
I don't see any attachment.
Do you perhaps have a 12 character buffer? You need a 13 character
buffer to hold a 12 character string plus the \0 end of string
character. Or maybe you aren't properly terminating the strings? I
doubt that this is a gcc problem.
We don't track problems mailed to gcc-bugs. We prefer that problems be
filed into our bugzilla database, where it is easy to track them. See
http://gcc.gnu.org/bugs.html
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-10 23:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-10 18:36 gcc bug adds ^q to 12 character words Tom Bradley
2004-02-10 23:56 ` Jim Wilson
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).