aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dom.c
diff options
context:
space:
mode:
authorMarcin Dalecki <martin@dalecki.de>2006-02-15 08:58:22 +0100
committerMarcin Dalecki <dalecki@gcc.gnu.org>2006-02-15 08:58:22 +0100
commitbc4632d404ad7c46f125efbca56f9753a6704b11 (patch)
tree76122f23e48af8a6d5000649d1377960298c90d1 /gcc/tree-ssa-dom.c
parentdd8d6dfe799a66185fbcd5fe074cffa04d45e275 (diff)
downloadgcc-bc4632d404ad7c46f125efbca56f9753a6704b11.zip
gcc-bc4632d404ad7c46f125efbca56f9753a6704b11.tar.gz
gcc-bc4632d404ad7c46f125efbca56f9753a6704b11.tar.bz2
tree-ssa-dom.c (dom_thread_across_edge): fix tag expression construction.
2006-02-15 Marcin Dalecki <martin@dalecki.de> * tree-ssa-dom.c (dom_thread_across_edge): fix tag expression construction. From-SVN: r111019
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r--gcc/tree-ssa-dom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c
index 371e53b..4802572 100644
--- a/gcc/tree-ssa-dom.c
+++ b/gcc/tree-ssa-dom.c
@@ -596,7 +596,7 @@ dom_thread_across_edge (struct dom_walk_data *walk_data, edge e)
/* If we don't already have a dummy condition, build it now. */
if (! walk_data->global_data)
{
- tree dummy_cond = build2 (NE, boolean_type_node,
+ tree dummy_cond = build2 (NE_EXPR, boolean_type_node,
integer_zero_node, integer_zero_node);
dummy_cond = build3 (COND_EXPR, void_type_node, dummy_cond, NULL, NULL);
walk_data->global_data = dummy_cond;