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


>  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.

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