[PATCH ARM] Fix PR60264 (ICE in dwarf2out_frame_debug_adjust_cfa) part 2

2014-02-19 Thread Christian Bruel
Hello, This patch is a followup of http://gcc.gnu.org/ml/gcc-patches/2014-02/msg01042.html If fixes a bunch of ICEs for the testsuite ran with --target_board=arm-sim/\{-mapcs-frame\}, noticed on a reference branch for testing the former patch. One of the strange issue I had to deal with, for in

Re: [PATCH ARM] Fix PR60264 (ICE in dwarf2out_frame_debug_adjust_cfa)

2014-02-18 Thread Christian Bruel
probably easier to review with patch attached... 2014-02-18 Christian Bruel PR target/60264 * config/arm/arm.c (arm_emit_vfp_multi_reg_pop): Restore cfa register. (arm_expand_epilogue_apcs_frame): Set RTX_FRAME_RELATED_P. 2014-02-18 Christian Bruel PR target/60264 * gcc.target/arm/pr

[PATCH ARM] Fix PR60264 (ICE in dwarf2out_frame_debug_adjust_cfa)

2014-02-18 Thread Christian Bruel
Hello, Considering the attached trivial case with the epilogue: sub sp, fp, #12 ldmia sp, {fp, sp, lr}frame_related_p the sub instruction should also be frame_related_fp. (a gcc_assert triggers in dwarf2out_frame_debug_adjust_cfa) This patch sets RTX_FRAME_RELATED_P on