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 c/13158] bad unwind info as a result of sibcall


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


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