aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2006-02-02 13:12:59 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2006-02-02 13:12:59 +0000
commit14b9dd558c58bc3b167274dfd01def2294594d11 (patch)
treefb19ed175b794d5e888497cd24515eb9bdb0e2a6 /gcc/flow.c
parent35771d345fbe800cb3769316ffe874909bccdc4b (diff)
downloadgcc-14b9dd558c58bc3b167274dfd01def2294594d11.zip
gcc-14b9dd558c58bc3b167274dfd01def2294594d11.tar.gz
gcc-14b9dd558c58bc3b167274dfd01def2294594d11.tar.bz2
flow.c (calculate_global_regs_live): Assert that there aren't any EDGE_FAKE edges.
* flow.c (calculate_global_regs_live): Assert that there aren't any EDGE_FAKE edges. From-SVN: r110515
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 9c5c72e..1f81530 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;