This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/18987] [4.0 regression] [ia64] Extra '.restore sp' in tail call


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]