diff options
author | Marcin Dalecki <martin@dalecki.de> | 2006-10-23 14:20:56 +0000 |
---|---|---|
committer | Marcin Dalecki <martin@dalecki.de> | 2006-10-23 14:20:56 +0000 |
commit | 46e02f6dd14ae7279e94be50f8f5473abcac97af (patch) | |
tree | 9ab887994c957be985a0a73b8b26801920bd6637 /gcc/tree-vrp.c | |
parent | 6194350ff9feab15c279e8dcde95aefbd71a74b5 (diff) |
Added the first working version of the C++ compatibility port. Everything with the notable exception of ADA just works now.c++-compat-branch
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/c++-compat-branch@117976 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vrp.c')
-rw-r--r-- | gcc/tree-vrp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 8e67e8a3d2b..0059443ab3c 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -4268,9 +4268,9 @@ simplify_cond_using_ranges (tree stmt) able to simplify this conditional. */ if (vr->type == VR_RANGE) { - tree new = test_for_singularity (cond_code, op0, op1, vr); + tree tmp = test_for_singularity (cond_code, op0, op1, vr); - if (new) + if (tmp) { if (dump_file) { @@ -4280,7 +4280,7 @@ simplify_cond_using_ranges (tree stmt) } COND_EXPR_COND (stmt) - = build2 (EQ_EXPR, boolean_type_node, op0, new); + = build2 (EQ_EXPR, boolean_type_node, op0, tmp); update_stmt (stmt); if (dump_file) @@ -4296,9 +4296,9 @@ simplify_cond_using_ranges (tree stmt) with integral types here, so no need to worry about issues with inverting FP comparisons. */ cond_code = invert_tree_comparison (cond_code, false); - new = test_for_singularity (cond_code, op0, op1, vr); + tmp = test_for_singularity (cond_code, op0, op1, vr); - if (new) + if (tmp) { if (dump_file) { @@ -4308,7 +4308,7 @@ simplify_cond_using_ranges (tree stmt) } COND_EXPR_COND (stmt) - = build2 (NE_EXPR, boolean_type_node, op0, new); + = build2 (NE_EXPR, boolean_type_node, op0, tmp); update_stmt (stmt); if (dump_file) |