This is the mail archive of the
mailing list for the GCC project.
Re: [ARM] Fix prologue and epilogue for interrupt function
On 07/12/2010 09:40 PM, Jie Zhang wrote:
On 07/07/2010 09:49 PM, Paul Brook wrote:
ARM GCC will save r3 to the stack when it tries to align the stack to
double-word. But it can only do so when r3 will not be saved. Otherwise
there will be inconsistent information about how many registers will be
saved and how much the stack will be adjusted. This patch fixes it.
Tested on arm-none-eabi. No regressions are found. Is it OK?
Your test fails for Thumb multilibs.
Other than that, ok.
Here is the updated patch, with test cases updated. The method used in
the tests to make them work with thumb is Paul's idea. I will commit on
trunk and 4.5 branch soon.