On 16 October 2012 10:22, Ramana Radhakrishnan ramana.radhakrishnan@arm.com wrote:
Zhenqiang,
I've been spending sometime scratching my head around this one tonight. Can you show me the original shrink-wrap patch as well the test case that triggers this failure ? I have my suspicion on something but need to run a few experiments before commenting further.
p4.patch is from the mail-list discussion: http://old.nabble.com/Shrink-wrapping%3A-Introduction-to31220423.html
shrink-wrap.patch is my patch against r192445.
*.c are test cases: -O2 -g
There is no fail in gcc-linaro-4.5 since "simple_return" and "normal return" can not be optimized as one common return.
Thanks! -Zhenqiang
On 15 Oct 2012, at 10:57, Zhenqiang Chen zhenqiang.chen@linaro.org wrote:
Hi Ramana,
The attached file is a reference patch to add more dwarf/unwind info in epilogue. Please help to review.
Without the patch, dwarf check fail for the following cases when enabling shrink-wrap:
tst ... L1 //simple_return push ... ... pop ... //.cfa_offset is not 0 L1: bx lr //common simple_return
Thanks! -Zhenqiang<dwarf.patch>_______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain