-qunwind
Category
Pragma equivalent
None.
Purpose
Specifies whether the call stack can be unwound by code looking through the saved registers on the stack.
Specifying -qnounwind asserts to the compiler that the stack will not be unwound, and can improve optimization of nonvolatile register saves and restores.
Defaults
-qunwind
Usage
The setjmp and longjmp families of library functions are safe to use with -qnounwind.
Specifying -qnounwind also implies -qnoeh.
Predefined macros
None.