]> gcc.gnu.org Git - gcc.git/commit
re PR target/58864 (ICE in connect_traces, at dwarf2cfi.c:NNNN)
authorJakub Jelinek <jakub@gcc.gnu.org>
Tue, 3 Dec 2013 07:29:20 +0000 (08:29 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 3 Dec 2013 07:29:20 +0000 (08:29 +0100)
commit7f2f0a01cab6028542bdd57904a4147d17292d74
tree4a5227f73abdd560a3d6b712c6c89fc4768357e7
parent4dd0ef2765ed87adce1dadc3187d6f7bd7ff29bb
re PR target/58864 (ICE in connect_traces, at dwarf2cfi.c:NNNN)

PR target/58864
* dojump.c (save_pending_stack_adjust, restore_pending_stack_adjust):
New functions.
* expr.h (struct saved_pending_stack_adjust): New type.
(save_pending_stack_adjust, restore_pending_stack_adjust): New
prototypes.
* optabs.c (emit_conditional_move): Call save_pending_stack_adjust
and get_last_insn before do_pending_stack_adjust, call
restore_pending_stack_adjust after delete_insns_since.
* expr.c (expand_expr_real_2): Don't call do_pending_stack_adjust
before calling emit_conditional_move.
* expmed.c (expand_sdiv_pow2): Likewise.
* calls.c (expand_call): Use {save,restore}_pending_stack_adjust.

* g++.dg/opt/pr58864.C: New test.

From-SVN: r205618
gcc/ChangeLog
gcc/calls.c
gcc/dojump.c
gcc/expmed.c
gcc/expr.c
gcc/expr.h
gcc/optabs.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr58864.C [new file with mode: 0644]
This page took 0.085794 seconds and 5 git commands to generate.