This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/58668] [4.8/4.9 regression] internal compiler error: in cond_exec_process_insns, at ifcvt.c:339
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 07 Jan 2014 16:51:19 +0000
- Subject: [Bug rtl-optimization/58668] [4.8/4.9 regression] internal compiler error: in cond_exec_process_insns, at ifcvt.c:339
- Auto-submitted: auto-generated
- References: <bug-58668-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58668
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 7 16:51:16 2014
New Revision: 206398
URL: http://gcc.gnu.org/viewcvs?rev=206398&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 and make USE/CLOBBER
check consistent with other places.
(flow_find_head_matching_sequence): Don't count USE or CLOBBER insns.
(try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
counting change.
* ifcvt.c (count_bb_insns): Don't count USE or CLOBBER insns.
* gcc.dg/pr58668.c: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/pr58668.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/cfgcleanup.c
branches/gcc-4_8-branch/gcc/ifcvt.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog