diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-02 13:12:59 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-02 13:12:59 +0000 |
commit | d6f3d275aeb348d1ebdcd287affd7b355c884c51 (patch) | |
tree | fb19ed175b794d5e888497cd24515eb9bdb0e2a6 /gcc | |
parent | 306d9c02ee0801d023909806fa094ff68a8578b8 (diff) | |
download | gcc-d6f3d275aeb348d1ebdcd287affd7b355c884c51.tar.gz |
* flow.c (calculate_global_regs_live): Assert that there aren't any
EDGE_FAKE edges.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110515 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/flow.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 078ea9d8afd..b11d57d8c7f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-02-02 Bernd Schmidt <bernd.schmidt@analog.com> + + * flow.c (calculate_global_regs_live): Assert that there aren't any + EDGE_FAKE edges. + 2006-02-02 Paolo Bonzini <bonzini@gnu.org> * tree-flow-inline.h (bsi_after_labels): Rewrite, return diff --git a/gcc/flow.c b/gcc/flow.c index 9c5c72e94df..1f81530722d 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -1,6 +1,7 @@ /* Data flow analysis for GNU compiler. Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, + Inc. This file is part of GCC. @@ -1395,6 +1396,9 @@ calculate_global_regs_live (sbitmap blocks_in, sbitmap blocks_out, int flags) FOR_EACH_EDGE (e, ei, bb->preds) { basic_block pb = e->src; + + gcc_assert ((e->flags & EDGE_FAKE) == 0); + if (pb->aux == NULL) { *qtail++ = pb; |