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

Joern Rennecke amylaar@cambridge.redhat.com
Thu Dec 21 15:50:00 GMT 2000


>  More seriously, it is not related to "asm()": I will have the same
>  problem with real setjmp/longjmp defined in assembler in a library.
>  Compiling without "-fno-defer-pop" means that I will get stack
>  adjustment after a setjmp() which are related to the functions
>  called before it.

So what?  longjmp will restore the stack to the value it had at the setjmp
site, so you really want these stack adjustments.


More information about the Gcc mailing list