Commit f54ff900 by Richard Henderson Committed by Richard Henderson

* stor-layout.c (layout_decl): Use unshare_expr, not unsave_expr.

From-SVN: r92362
parent 6b9b7b4c
2004-12-18 Richard Henderson <rth@redhat.com>
* stor-layout.c (layout_decl): Use unshare_expr, not unsave_expr.
2004-12-18 Zdenek Dvorak <dvorakz@suse.cz>
PR rtl-optimization/19001
......
......@@ -325,8 +325,8 @@ layout_decl (tree decl, unsigned int known_align)
if (DECL_SIZE (decl) == 0)
{
DECL_SIZE (decl) = unsave_expr (TYPE_SIZE (type));
DECL_SIZE_UNIT (decl) = unsave_expr (TYPE_SIZE_UNIT (type));
DECL_SIZE (decl) = unshare_expr (TYPE_SIZE (type));
DECL_SIZE_UNIT (decl) = unshare_expr (TYPE_SIZE_UNIT (type));
}
else if (DECL_SIZE_UNIT (decl) == 0)
DECL_SIZE_UNIT (decl)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment