diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-04 14:29:13 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-04 14:29:13 +0000 |
commit | 61c059fcd4ddcc849aae31efce0f1a4866c0d04b (patch) | |
tree | 807ab884f6921d74cf6697b2fbd57ce212645768 /gcc/postreload-gcse.c | |
parent | 8289bfc6ebd28a7c9ba0ded84bf9103b590a9597 (diff) | |
download | gcc-61c059fcd4ddcc849aae31efce0f1a4866c0d04b.tar.gz |
2011-06-04 Basile Starynkevitch <basile@starynkevitch.net>
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
Diffstat (limited to 'gcc/postreload-gcse.c')
-rw-r--r-- | gcc/postreload-gcse.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |