http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46864
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-16 20:12:51 UTC --- Author: jakub Date: Sun Jan 16 20:12:46 2011 New Revision: 168861 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168861 Log: Backport from mainline 2010-12-10 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/46864 * tree-ssa-loop-im.c (loop_suitable_for_sm): Return false even when there are EDGE_EH exit edges. * g++.dg/opt/pr46864.C: New test. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/opt/pr46864.C Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-ssa-loop-im.c