http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52221
--- Comment #12 from gee <jojelino at gmail dot com> 2012-02-17 08:38:01 UTC --- Created attachment 26692 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26692 proposed patch without trampoline diff (In reply to comment #10) > I see here three issues about this patch. > > First, you don't treat stack-alignment. > Second, why you emulate here stack-argument cleanup for ret __size-4? Why not > stick to already present variant? > Thirs, you corrupt arguments after the second. > yes. sorry for unnecessary trampoline diff. does this patch solves the issues?