This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13158] bad unwind info as a result of sibcall
- 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: 22 Nov 2003 04:51:59 -0000
- Subject: [Bug c/13158] bad unwind info as a result of sibcall
- References: <20031122025223.13158.davidm@hpl.hp.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From davidm at hpl dot hp dot com 2003-11-22 04:51 -------
Sorry to keep adding to this but on the way home, I realized that .restore sp
won't fix the problem. Instead, perhaps the best way to fix this would be to emit:
.endp
.proc
right before the second "alloc". The only alternative I can think of would be
to use copy_state/label_state but that would get rather ugly and would cause
additional unwind directives that aren't really needed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13158