https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86 Summary|Add a builtin to get the |Need a builtin function to |address of the current |access interrupt or |stack frame |exception data --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- The interrupt and exception handlers are called by x86 processors. X86 hardware pushes information onto stack and calls the handler. We need a builtin function to access interrupt or exception data from the interrupt and exception handlers which are void function without arguments.