shrink-wrap.patch doesn't apply cleanly to the revision you suggest. If you give a clean patch and some description of what happens I might be able to take a look ..
What do you expect to happen with the testcases ? ICE ? wrong-code , wrong-debug info, what ? Ramana ________________________________________ From: Zhenqiang Chen [zhenqiang.c...@linaro.org] Sent: 16 October 2012 04:44 To: Ramana Radhakrishnan Cc: linaro-toolchain Subject: Re: Add dwarf/unwind info in epilogue On 16 October 2012 10:22, Ramana Radhakrishnan <ramana.radhakrish...@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.c...@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 > > _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain