[Bug target/18010] bad unwind info due to multiple returns (missing epilogue)
wilson at specifixinc dot com
gcc-bugzilla@gcc.gnu.org
Tue Oct 19 01:07:00 GMT 2004
------- Additional Comments From wilson at specifixinc dot com 2004-10-19 01:07 -------
Subject: Re: New: bad unwind info due to multiple
returns (missing epilogue)
On Fri, 2004-10-15 at 04:14, davidm at hpl dot hp dot com wrote:
> To fix this bug, GCC should be emitting a ".restore sp" directive in front of
> every instruction which pops the stack-pointer.
I'm still sick, four weeks and counting, but this looks like a pretty
easy one. We just need to copy RTX_FRAME_RELATED_P when we copy
instructions. The following patch gives the right result for the
testcase. I have as yet done no other testing of the patch.
------- Additional Comments From wilson at specifixinc dot com 2004-10-19 01:07 -------
Created an attachment (id=7373)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7373&action=view)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18010
More information about the Gcc-bugs
mailing list