[Bug c/13158] bad unwind info as a result of sibcall

davidm at hpl dot hp dot com gcc-bugzilla@gcc.gnu.org
Sat Nov 22 04:52:00 GMT 2003


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



More information about the Gcc-bugs mailing list