diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-18 20:19:37 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-18 20:19:37 +0000 |
commit | bac09543806711a7b00ccd6cf918aee971f00306 (patch) | |
tree | a466675a3afaa3095c3cb6bc5a6e7dd55509d986 /gcc/stor-layout.c | |
parent | f8f90b50cd3ce3c5f212a20361739ee2cae8d15a (diff) | |
download | gcc-bac09543806711a7b00ccd6cf918aee971f00306.tar.gz |
* stor-layout.c (layout_decl): Use unshare_expr, not unsave_expr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92362 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index b2f73f000d0..6b78fa6520e 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -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) |