public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: other/8757: GCC crash when sizeof (long) > sizeof (char *), (splay_tree_compare_fn)strcmp is wrong
@ 2003-03-15 18:44 bangerth
0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-03-15 18:44 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, mitr, nobody
Synopsis: GCC crash when sizeof (long) > sizeof (char *), (splay_tree_compare_fn)strcmp is wrong
State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Sat Mar 15 18:44:31 2003
State-Changed-Why:
Do you have a small testcase that triggers the bug, so that
we can see whether the patch is indeed necessary? I can
confirm that the patch has at least not been applied by
someone.
Thanks
Wolfgang
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8757
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: other/8757: GCC crash when sizeof (long) > sizeof (char *), (splay_tree_compare_fn)strcmp is wrong
@ 2003-03-15 19:16 Miloslav Trmac
0 siblings, 0 replies; 2+ messages in thread
From: Miloslav Trmac @ 2003-03-15 19:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR other/8757; it has been noted by GNATS.
From: Miloslav Trmac <mitr@volny.cz>
To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: other/8757: GCC crash when sizeof (long) > sizeof (char *), (splay_tree_compare_fn)strcmp is wrong
Date: Sat, 15 Mar 2003 20:07:54 +0100
Hello,
On Sat, Mar 15, 2003 at 06:44:31PM -0000, bangerth@dealii.org wrote:
> Do you have a small testcase that triggers the bug, so that
> we can see whether the patch is indeed necessary? I can
> confirm that the patch has at least not been applied by
> someone.
Not really, since it involves setting up an environment where
sizeof (long) > sizeof (char *). In that environment,
gcc would crash compiling even trivial "hello, world".
In my case, it was http://www.fw.cz/~mitr/maxos.html
(snapshot available at http://carolina.mff.cuni.cz/~trmac/MaxOS,
including patched gcc). If someone would like to reproduce this
independently, I can dig up the necessary gcc patches (new
target OS) and create "before" and "after" iso images.
The patch seems obvious to me though ;-)
Mirek
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-15 19:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-15 18:44 other/8757: GCC crash when sizeof (long) > sizeof (char *), (splay_tree_compare_fn)strcmp is wrong bangerth
2003-03-15 19:16 Miloslav Trmac
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).