Created attachment 537616 [details] [diff] [review] fix v1.0 GCC doesn't support __declspec(naked) for x86, so the current code depends on how GCC decides to compile it. It worked good so far, but since GCC 4.6.0 it causes crashes on optimized builds. I've rewritten it directly in assembly, just like other GCC targets do.
Comment on attachment 537616 [details] [diff] [review] fix v1.0 As mingw-only I'll rubberstamp this: I haven't actually reviewed it but I don't think it's necessary for port-specific code.
Thanks, pushed to m-i: https://hg.mozilla.org/integration/mozilla-inbound/rev/10e47df463b9