diff options
author | Devang Patel <dpatel@apple.com> | 2004-11-16 12:02:48 -0800 |
---|---|---|
committer | Devang Patel <dpatel@gcc.gnu.org> | 2004-11-16 12:02:48 -0800 |
commit | 57e4228616016d70c6ae00f5cd4e0104f0a6080c (patch) | |
tree | 31e28d4d18ed2ed67f337832d6f31c731117bb38 | |
parent | 66083422fdff0478bebd65b4bf2d103a55d97366 (diff) | |
download | gcc-57e4228616016d70c6ae00f5cd4e0104f0a6080c.zip gcc-57e4228616016d70c6ae00f5cd4e0104f0a6080c.tar.gz gcc-57e4228616016d70c6ae00f5cd4e0104f0a6080c.tar.bz2 |
* tree-if-conv.c (clean_predicate_lists): Update gcc_assert check.
From-SVN: r90756
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/tree-if-conv.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d0a196f..1ed68cb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-11-16 Devang Patel <dpatel@apple.com> + + * tree-if-conv.c (clean_predicate_lists): Update gcc_assert check. + 2004-11-16 Eric Christopher <echristo@redhat.com> * config/mips/mips.c: Use rtl _P predicates. diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index c9bde4e..489613c 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -658,7 +658,7 @@ static void clean_predicate_lists (struct loop *loop) { #ifdef ENABLE_CHECKING - gcc_assert (loop->num_nodes == 2); + gcc_assert (loop->num_nodes == 2 || loop->num_nodes == 1); #endif loop->header->aux = NULL; loop->latch->aux = NULL; |