[Bug rtl-optimization/58668] [4.8/4.9 regression] internal compiler error: in cond_exec_process_insns, at ifcvt.c:339

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 7 07:54:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58668

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan  7 07:54:47 2014
New Revision: 206385

URL: http://gcc.gnu.org/viewcvs?rev=206385&root=gcc&view=rev
Log:
    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.

Added:
    trunk/gcc/testsuite/gcc.dg/pr58668.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgcleanup.c
    trunk/gcc/ifcvt.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list