http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46107
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-12 11:28:35 UTC --- Author: jakub Date: Fri Nov 12 11:28:32 2010 New Revision: 166649 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166649 Log: Backport from mainline 2010-11-03 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/46107 * cfgloopmanip.c (loop_version): Set irred_flag back into entry->flags if cfg_hook_duplicate_loop_to_header_edge failed. * gcc.c-torture/compile/pr46107.c: New test. Added: branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr46107.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/cfgloopmanip.c branches/gcc-4_4-branch/gcc/gimplify.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog