aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-coalesce.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2006-12-12 15:50:06 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2006-12-12 15:50:06 +0000
commit0d70045091f870cb649c91709269fada8773c0a1 (patch)
tree67e8d077f977c0efbef089fd351e86f55516dd9b /gcc/tree-ssa-coalesce.c
parentc2431a627221fbc00fbda42f493f0df219d5481a (diff)
downloadgcc-0d70045091f870cb649c91709269fada8773c0a1.zip
gcc-0d70045091f870cb649c91709269fada8773c0a1.tar.gz
gcc-0d70045091f870cb649c91709269fada8773c0a1.tar.bz2
re PR tree-optimization/30159 (gcc.c-torture/execute/20010422-1.c is miscompiled)
2006-12-12 Andrew Macleod <amacleod@redhat.com> PR tree-optimization/30159 * tree-ssa-coalesce.c (coalesce_ssa_name): Process single ssa_name functions in case a default_def coalesce is required. From-SVN: r119792
Diffstat (limited to 'gcc/tree-ssa-coalesce.c')
-rw-r--r--gcc/tree-ssa-coalesce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-coalesce.c b/gcc/tree-ssa-coalesce.c
index 6bf530f..6b6371b 100644
--- a/gcc/tree-ssa-coalesce.c
+++ b/gcc/tree-ssa-coalesce.c
@@ -1284,7 +1284,7 @@ coalesce_ssa_name (void)
partition_view_bitmap (map, used_in_copies, true);
BITMAP_FREE (used_in_copies);
- if (num_var_partitions (map) <= 1)
+ if (num_var_partitions (map) < 1)
{
delete_coalesce_list (cl);
return map;