This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: i386 setjmp, asm volatile ("") and -fno-defer-pop


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]