This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18987] [4.0 regression] [ia64] Extra '.restore sp' in tail call
- From: "davidm at hpl dot hp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Dec 2004 20:12:51 -0000
- Subject: [Bug target/18987] [4.0 regression] [ia64] Extra '.restore sp' in tail call
- References: <20041214154235.18987.schwab@suse.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From davidm at hpl dot hp dot com 2004-12-20 20:12 -------
(In reply to comment #6)
> Jim, David, can one of you look at this, and maybe revert the patch
> for PR13158 because it causes this regression?
Reverting the patch doesn't sound like a good idea, because it will only replace
a noticable code-generation bug with a hard to notice one.
The real question is why anyone would use -fno-omit-frame-pointer on ia64. That
sounds like a bug. Is the code coming from pine? If so, we should see about
getting that fixed.
In any case, I'll attach a patch that fixes the problem for the test-case. Jim
is in a better position to say whether that's a reasonable way of solving the
problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18987