From: Marcin Dalecki Date: Wed, 15 Feb 2006 07:58:22 +0000 (+0100) Subject: tree-ssa-dom.c (dom_thread_across_edge): fix tag expression construction. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc4632d404ad7c46f125efbca56f9753a6704b11;p=gcc.git tree-ssa-dom.c (dom_thread_across_edge): fix tag expression construction. 2006-02-15 Marcin Dalecki * tree-ssa-dom.c (dom_thread_across_edge): fix tag expression construction. From-SVN: r111019 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6312500c0ec..b7fb2516858 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-02-15 Marcin Dalecki + + * tree-ssa-dom.c (dom_thread_across_edge): fix tag expression + construction. + 2006-02-14 Zdenek Dvorak PR tree-optimization/26209 diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index 371e53bb182..4802572388d 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;