tree-ssa-dom.c (dom_thread_across_edge): fix tag expression construction.
authorMarcin Dalecki <martin@dalecki.de>
Wed, 15 Feb 2006 07:58:22 +0000 (08:58 +0100)
committerMarcin Dalecki <dalecki@gcc.gnu.org>
Wed, 15 Feb 2006 07:58:22 +0000 (08:58 +0100)
2006-02-15  Marcin Dalecki <martin@dalecki.de>

* tree-ssa-dom.c (dom_thread_across_edge): fix tag expression
construction.

From-SVN: r111019

gcc/ChangeLog
gcc/tree-ssa-dom.c

index 6312500c0ec3830709a8e99a3c290808e1d10270..b7fb2516858a8c6a346a211b5b861f1115314ff2 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-15  Marcin Dalecki <martin@dalecki.de>
+
+       * tree-ssa-dom.c (dom_thread_across_edge): fix tag expression
+       construction.
+
 2006-02-14  Zdenek Dvorak <dvorakz@suse.cz>
 
        PR tree-optimization/26209
index 371e53bb182af8dced02c136437a9136c1ba60d9..4802572388d78ff054c3a72f301f2477dd9d051e 100644 (file)
@@ -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;