2013-08-06 Christophe Lyon <christophe.lyon@linaro.org>
commitfcaa4ba703086747889ed2af741877f6ded69244
authorclyon <clyon@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Aug 2013 14:58:06 +0000 (6 14:58 +0000)
committerclyon <clyon@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Aug 2013 14:58:06 +0000 (6 14:58 +0000)
treea4f1e712e41a4a1dcdf8dab397270c46dd410493
parent9a31386dfaa0248b6f35a30d74b4452f667b234e
2013-08-06  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/
Backport from trunk r199438,199439,201326.

2013-05-30  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

* config/arm/arm.c (arm_add_cfa_adjust_cfa_note): New added.
(arm_emit_multi_reg_pop): Add REG_CFA_ADJUST_CFA notes.
(arm_emit_vfp_multi_reg_pop): Likewise.
(thumb2_emit_ldrd_pop): Likewise.
(arm_expand_epilogue): Add misc REG_CFA notes.
(arm_unwind_emit): Skip REG_CFA_ADJUST_CFA and REG_CFA_RESTORE.

2013-05-30  Bernd Schmidt  <bernds@codesourcery.com>
    Zhenqiang Chen  <zhenqiang.chen@linaro.org>

* config/arm/arm-protos.h: Add and update function protos.
* config/arm/arm.c (use_simple_return_p): New added.
(thumb2_expand_return): Check simple_return flag.
* config/arm/arm.md: Add simple_return and conditional simple_return.
* config/arm/iterators.md: Add iterator for return and simple_return.

2013-07-30  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

PR rtl-optimization/57637
* function.c (move_insn_for_shrink_wrap): Also check the
GEN set of the LIVE problem for the liveness analysis
if it exists, otherwise give up.

gcc/testsuite/
Backport from trunk r199439,199533,201326.

2013-05-30  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

* gcc.dg/shrink-wrap-alloca.c: New added.
* gcc.dg/shrink-wrap-pretend.c: New added.
* gcc.dg/shrink-wrap-sibcall.c: New added.

2013-05-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* gcc.dg/shrink-wrap-alloca.c: Use __builtin_alloca.

2013-07-30  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

* gcc.target/arm/pr57637.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro@201528 138bc75d-0d04-0410-961f-82ee72b054a4
gcc-4_8-branch/gcc/ChangeLog.linaro
gcc-4_8-branch/gcc/config/arm/arm-protos.h
gcc-4_8-branch/gcc/config/arm/arm.c
gcc-4_8-branch/gcc/config/arm/arm.md
gcc-4_8-branch/gcc/config/arm/iterators.md
gcc-4_8-branch/gcc/function.c
gcc-4_8-branch/gcc/testsuite/ChangeLog.linaro
gcc-4_8-branch/gcc/testsuite/gcc.dg/shrink-wrap-alloca.c [new file with mode: 0644]
gcc-4_8-branch/gcc/testsuite/gcc.dg/shrink-wrap-pretend.c [new file with mode: 0644]
gcc-4_8-branch/gcc/testsuite/gcc.dg/shrink-wrap-sibcall.c [new file with mode: 0644]
gcc-4_8-branch/gcc/testsuite/gcc.target/arm/pr57637.c [new file with mode: 0644]