On 05/27/14 02:07, Zhenqiang Chen wrote:
Hi,
Following up Richard's comments:
https://gcc.gnu.org/ml/gcc-patches/2014-05/msg00967.html
I investigate interrupt routines:
* gcc can shrink-wrapping an interrupt routine (ARM mode). The
shrink-wrap-interrupt_1.c in the patch can show it.
* There is restriction for interrupt routine to be shrink-wrapped.
e.g. shrink-wrap-interrupt_2.c can not be shrink-wrapped.
* When interrupt routine is shrink-wrapped, it uses
"*cond_simple_return" to return from the function. There is no dwarf
info issue.
So no need to change the codes. The patch only includes two test cases
to track it.
OK for trunk?
Thanks!
-Zhenqiang
testsuite/ChangeLog:
2014-05-27 Zhenqiang Chen <zhenqiang.c...@linaro.org>
* gcc.target/arm/shrink-wrap-interrupt_1.c: New test.
* gcc.target/arm/shrink-wrap-interrupt_2.c: New test.
OK.
Jeff