public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: target/6496: Sparc backend clobbers call-return stack of UltraSparc
@ 2002-04-28 22:38 davem
0 siblings, 0 replies; 2+ messages in thread
From: davem @ 2002-04-28 22:38 UTC (permalink / raw)
To: davem, gcc-bugs, gcc-prs, nobody
Synopsis: Sparc backend clobbers call-return stack of UltraSparc
State-Changed-From-To: open->closed
State-Changed-By: davem
State-Changed-When: Sun Apr 28 22:38:15 2002
State-Changed-Why:
Fixed on 3.1 branch by:
http://gcc.gnu.org/ml/gcc-patches/2002-04/msg01717.html
on the mainline by
http://gcc.gnu.org/ml/gcc-patches/2002-04/msg01743.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6496
^ permalink raw reply [flat|nested] 2+ messages in thread
* target/6496: Sparc backend clobbers call-return stack of UltraSparc
@ 2002-04-27 23:46 davem
0 siblings, 0 replies; 2+ messages in thread
From: davem @ 2002-04-27 23:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 6496
>Category: target
>Synopsis: Sparc backend clobbers call-return stack of UltraSparc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 27 23:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: davem@redhat.com
>Release: GCC 3.1 CVS
>Organization:
>Environment:
sparc*-*
>Description:
The Sparc backend peepholes for optimizing a
call followed by a jump should be disabled when
optimizing for UltraSPARC and later.
These optimizations corrupt the call-return stack
so that the end result is slower code not faster code.
>How-To-Repeat:
Compile enclosed testcase with -O2 -mtune=ultrasparc
Look at assembly for "add %o7, OFF, %o7" in delay
slot of calls to 'bar'.
>Fix:
When sparc_pu == PROCESSOR_ULTRASPARC or later, do not
match these peepholes.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="call_jump.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="call_jump.c"
ZXh0ZXJuIHZvaWQgYmFyKHZvaWQpOwoKaW50IGZvbyhpbnQgYSkKewoJaWYgKGEgPj0gMCAmJiBh
IDwgOCkKCXsKCQlhICs9IDB4NTAwMDA7CgkJYmFyKCk7Cgl9CgllbHNlIGlmIChhIDwgMTgpCgl7
CgkJYSArPSAweDgyMDAzMDsKCQliYXIoKTsKCX0KCWVsc2UgaWYgKGEgPiAzMikKCQlhICs9IDB4
OTkyMjg4MzsKCWVsc2UKCQliYXIoKTsKCglyZXR1cm4gYTsKfQo=
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-29 5:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-28 22:38 target/6496: Sparc backend clobbers call-return stack of UltraSparc davem
-- strict thread matches above, loose matches on Subject: below --
2002-04-27 23:46 davem
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).