]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/58668 (internal compiler error: in cond_exec_process_insns...
authorJakub Jelinek <jakub@redhat.com>
Tue, 7 Jan 2014 07:54:47 +0000 (08:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 7 Jan 2014 07:54:47 +0000 (08:54 +0100)
commita0cbe71e87398b958cc88f5e3a7529cb9e1fd137
tree9eaf6483aea9b5e5509844108efd82f4c23d2465
parent41626746d0bd5aaff66a5489e80781917be881da
re PR rtl-optimization/58668 (internal compiler error: in cond_exec_process_insns, at ifcvt.c:339)

PR rtl-optimization/58668
* cfgcleanup.c (flow_find_cross_jump): Don't count
any jumps if dir_p is NULL.  Remove p1 variable, use active_insn_p
to determine what is counted.
(flow_find_head_matching_sequence): Use active_insn_p to determine
what is counted.
(try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
counting change.
* ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
determine what is counted.

* gcc.dg/pr58668.c: New test.

From-SVN: r206385
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr58668.c [new file with mode: 0644]