This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: i386 setjmp, asm volatile ("") and -fno-defer-pop
- To: Etienne Lorrain <etienne at masroudeau dot com>
- Subject: Re: i386 setjmp, asm volatile ("") and -fno-defer-pop
- From: Richard Henderson <rth at redhat dot com>
- Date: Wed, 20 Dec 2000 13:43:23 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <Pine.LNX.4.30.0012200126210.22894-100000@hp.masroudeau.com>
On Wed, Dec 20, 2000 at 01:40:33AM -0800, Etienne Lorrain wrote:
> Is there a trick with GCC to force the update of the stack pointer
> before an asm()?
No.
But you have other problems:
(1) What you are doing with your inline longjmp is highly illegal,
since you are not allowed to jump outside of an asm.
(2) You are violating type aliasing rules all over the place with
your bzero/memset/memcpy macros.
r~