------- Comment #14 from ian at airs dot com  2006-05-02 03:40 -------
Created an attachment (id=11354)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11354&action=view)
Possible patch

I've attached a possible patch for this issue.  It adds a new attribute
"preserve_stack" which tells the compiler that the stack should be preserved. 
For example, __attribute__ ((preserve_stack, regparm (0))).

It seems to work with pinskia's small test case.  Could somebody see whether it
works with the original test case?

Thanks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27234

Reply via email to