This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ARM interrupts


Hi Richard,

: Sorry, but this is just gross.  Interrupt functions shouldn't even
: be trying to produce APCS-style framed entry sequences.

Agreed - although you can always use the -fomit-frame-pointer switch.
But then I also agree with your earlier comment about the fact that
you should not be using the compiler to create interrupt handlers in
the first place - they should be hand coded.

The point about the patch is that with it applied the compiler should
now produce working code for an interrupt handler, even if it is not
optimal.

Of course I have only inspected the code generated by eye - I have not
run it on real ARM hardware, hence I was asking Eric to test/verify
the patch before I applied it.

Cheers
	Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]