http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60438
--- Comment #28 from linzj <manjian2006 at gmail dot com> --- (In reply to Jakub Jelinek from comment #27) > Wonder if we just shouldn't pass the other insn (the one we'd like to > delete) to > try_apply_stack_adjustment and if either of them is frame related insn, > check harder to see if we can handle it or give up if we can't handle it. > At least merging of a frame related stack adjustment and following non-frame > related one (or vice versa?) is I think very common. I think the final solution will both a fulfillment of dwarf2cfi & csa & jump2. That is csa is able to combine the stack operations,jump2 is able to find the common insn in ends of blocks,and dwarf2cfi is able to get the correct input data.