This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/51500] [4.7 regression] 106 unexpected libjava testsuite failures with mingw32
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Jan 2012 19:58:43 +0000
- Subject: [Bug libgcj/51500] [4.7 regression] 106 unexpected libjava testsuite failures with mingw32
- Auto-submitted: auto-generated
- References: <bug-51500-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51500
--- Comment #14 from Uros Bizjak <ubizjak at gmail dot com> 2012-01-30 19:58:43 UTC ---
(In reply to comment #13)
> Right the following sequence seems to be better IMHO:
>
> pop %eax
> push %ecx
> push %eax
> mov __ctx, %eax
> call fun
> pop %ecx
> mov %ecx, %(esp)
> ret
I'd avoid push and pop insns and go directly with moves and %esp adjustments.
Please see i.e. libitm/config/x86/sjlj.S for some ideas.