+2007-07-12 Daniel Berlin <dberlin@dberlin.org>
+
+ * tree-ssa-pre.c (get_expression_vuses): Move out side-effect.
+ (set_expression_vuses): Ditto.
+ (init_pre): Initialize expression_vuses.
+
2007-07-12 Zdenek Dvorak <dvorakz@suse.cz>
* config/i386/sse.md (storentdf, storentsf): New.
static inline vuse_vec
get_expression_vuses (tree expr)
{
- return VEC_index (vuse_vec, expression_vuses,
- get_or_alloc_expression_id (expr));
+ unsigned int expr_id = get_or_alloc_expression_id (expr);
+ return VEC_index (vuse_vec, expression_vuses, expr_id);
}
/* Set the expression vuses for EXPR to VUSES. */
static inline void
set_expression_vuses (tree expr, vuse_vec vuses)
{
- VEC_replace (vuse_vec, expression_vuses,
- get_or_alloc_expression_id (expr), vuses);
+ unsigned int expr_id = get_or_alloc_expression_id (expr);
+ VEC_replace (vuse_vec, expression_vuses, expr_id, vuses);
}
next_expression_id = 0;
expressions = NULL;
+ expression_vuses = NULL;
in_fre = do_fre;
inserted_exprs = NULL;