From 61c059fcd4ddcc849aae31efce0f1a4866c0d04b Mon Sep 17 00:00:00 2001 From: bstarynk Date: Sat, 4 Jun 2011 14:29:13 +0000 Subject: 2011-06-04 Basile Starynkevitch MELT branch merged with trunk rev 174636 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@174639 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/postreload-gcse.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/postreload-gcse.c') diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c index 8e26419f39c..bc55ead744f 100644 --- a/gcc/postreload-gcse.c +++ b/gcc/postreload-gcse.c @@ -1,5 +1,5 @@ /* Post reload partially redundant load elimination - Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 + Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -923,6 +923,9 @@ bb_has_well_behaved_predecessors (basic_block bb) if ((pred->flags & EDGE_ABNORMAL) && EDGE_CRITICAL_P (pred)) return false; + if ((pred->flags & EDGE_ABNORMAL_CALL) && cfun->has_nonlocal_label) + return false; + if (JUMP_TABLE_DATA_P (BB_END (pred->src))) return false; } -- cgit v1.2.1