This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/19799] sibcall-3.c and sibcall-4.c fail on hppa64-*-hpux*
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Feb 2005 01:58:21 -0000
- Subject: [Bug target/19799] sibcall-3.c and sibcall-4.c fail on hppa64-*-hpux*
- References: <20050207000845.19799.jsm28@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-07 01:58 -------
Hmm, for sibcall-3.c (likewise for 4) we have the following comment:
This test is xfailed on targets without sibcall patterns
(except targets where the test does not work due to the return address
not saved on the regular stack).
And in pa.c, we find this:
/* Sibcalls are not ok because the arg pointer register is not a fixed
register. This prevents the sibcall optimization from occurring. In
addition, there are problems with stub placement using GNU ld. This
is because a normal sibcall branch uses a 17-bit relocation while
a regular call branch uses a 22-bit relocation. As a result, more
care needs to be taken in the placement of long-branch stubs. */
if (TARGET_64BIT)
return false;
So these tests should be just xfailed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|rtl-optimization |target
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-02-07 01:58:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19799