OSDN Git Service

2005-12-13 Petr Machata <machata@post.cz>
[pf3gnuchains/gcc-fork.git] / gcc / tree-ssa-ccp.c
index 133d00a..39ba4a8 100644 (file)
@@ -342,6 +342,7 @@ get_default_value (tree var)
     }
   else if (TREE_STATIC (sym)
           && TREE_READONLY (sym)
+          && !MTAG_P (sym)
           && DECL_INITIAL (sym)
           && ccp_decl_initial_min_invariant (DECL_INITIAL (sym)))
     {
@@ -1957,7 +1958,7 @@ fold_stmt_r (tree *expr_p, int *walk_subtrees, void *data)
       /* Set TREE_INVARIANT properly so that the value is properly
         considered constant, and so gets propagated as expected.  */
       if (*changed_p)
-        recompute_tree_invarant_for_addr_expr (expr);
+        recompute_tree_invariant_for_addr_expr (expr);
       return NULL_TREE;
 
     case PLUS_EXPR: