diff options
Diffstat (limited to 'gcc/tree-ssa-copy.c')
-rw-r--r-- | gcc/tree-ssa-copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c index e657bdb..1b64638 100644 --- a/gcc/tree-ssa-copy.c +++ b/gcc/tree-ssa-copy.c @@ -604,7 +604,7 @@ copy_prop_visit_cond_stmt (tree stmt, edge *taken_edge_p) /* The only conditionals that we may be able to compute statically are predicates involving at least one SSA_NAME. */ - if (TREE_CODE_CLASS (TREE_CODE (cond)) == tcc_comparison + if (COMPARISON_CLASS_P (cond) && NUM_USES (uses) >= 1) { unsigned i; |