[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 16:51:00 GMT 2014
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
More information about the Gcc-bugs
mailing list