This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/27859] Bug in generation of interrupt function code for ARM processor
- From: "francois dot lorrain at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jan 2008 11:24:22 -0000
- Subject: [Bug target/27859] Bug in generation of interrupt function code for ARM processor
- References: <bug-27859-9348@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from francois dot lorrain at gmail dot com 2008-01-17 11:24 -------
Created an attachment (id=14957)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14957&action=view)
Patch to fix interrupt handling on entry/exit for ARM
The arm backend already decrement the PC by 4 when entering an interrupt
routine, so it does not need to have a specific handling for the return of the
function, it can be treated as an exception return.
The attached patch fixes this
Regards
Francois
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27859