public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5252: bus error code generated for non-applicable code
@ 2002-01-02 11:11 jsturm
0 siblings, 0 replies; 2+ messages in thread
From: jsturm @ 2002-01-02 11:11 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, jsturm, nobody, thomas
Synopsis: bus error code generated for non-applicable code
Responsible-Changed-From-To: unassigned->jsturm
Responsible-Changed-By: jsturm
Responsible-Changed-When: Wed Jan 2 11:10:59 2002
Responsible-Changed-Why:
I'm handling it.
State-Changed-From-To: open->closed
State-Changed-By: jsturm
State-Changed-When: Wed Jan 2 11:10:59 2002
State-Changed-Why:
Duplicate of c++/5251.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5252
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/5252: bus error code generated for non-applicable code
@ 2002-01-02 10:46 thomas
0 siblings, 0 replies; 2+ messages in thread
From: thomas @ 2002-01-02 10:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 5252
>Category: c++
>Synopsis: bus error code generated for non-applicable code
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Wed Jan 02 10:46:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: thomas@habets.pp.se
>Release: gcc 3.0.2, from debian 3.0 (woody) g++-3.0.2-4 deb package
>Organization:
>Environment:
debian linux 3.0 (woody) on a sparcstation 4, 48 MB ram.
CPU (from /proc/cpuinfo): Fujitsu MB86904
>Description:
Attached short code will bus error, even though it shouldn't.
It does work with these environments:
* same box bug with g++ 2.95.4
* another box with solaris 2.5.1 and g++ 2.95.3 and 2.91.60
attached code also at ftp://ftp.nss.nu/pub/test.cc
>How-To-Repeat:
compile and run on a sparc with g++ 3.0.2
$ g++-3.0 -o test test.cc && ./test
Bus error
$
>Fix:
none
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="test.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.cc"
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDx0eXBlaW5mbz4KCmNsYXNzIGJheiB7fTsKCnRl
bXBsYXRlPGNsYXNzIFQ+CmNsYXNzIGZ1YyB7CnB1YmxpYzoKCWludCBmb28oVCBiYXIpCgkJewoJ
CQlpZiAodHlwZWlkKGJhcikgPT0gdHlwZWlkKGludCkpIHsKCQkJCXByaW50ZigiaW50XG4iKTsK
CQkJfQoJCQlpZiAodHlwZWlkKGJhcikgPT0gdHlwZWlkKGJheikpIHsKCQkJCXByaW50ZigiYmF6
XG4iKTsKCQkJfQoJCX0KfTsKaW50IG1haW4odm9pZCkKewoJZnVjPGludD4gZnU7CglmdS5mb28o
MSk7Cn0K
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-01-02 19:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-02 11:11 c++/5252: bus error code generated for non-applicable code jsturm
-- strict thread matches above, loose matches on Subject: below --
2002-01-02 10:46 thomas
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).