This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/66960] Need a builtin function to access interrupt or exception data
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 04 Sep 2015 15:47:57 +0000
- Subject: [Bug target/66960] Need a builtin function to access interrupt or exception data
- Auto-submitted: auto-generated
- References: <bug-66960-4 at http dot gcc dot gnu dot org/bugzilla/>
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.