[Bug target/27859] Bug in generation of interrupt function code for ARM processor

francois dot lorrain at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 17 12:27:00 GMT 2008



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



More information about the Gcc-bugs mailing list