aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2009-06-03 03:07:49 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2009-06-03 03:07:49 +0000
commita3a7bf5fd741d39a46e64102266f1eb3ce8955c8 (patch)
tree022a651527024151ee11ece5ee871b20ecee71e4 /gcc/cp/decl.c
parent7656ecbc773231a639690fe5476e97b3fba5e44b (diff)
downloadgcc-a3a7bf5fd741d39a46e64102266f1eb3ce8955c8.zip
gcc-a3a7bf5fd741d39a46e64102266f1eb3ce8955c8.tar.gz
gcc-a3a7bf5fd741d39a46e64102266f1eb3ce8955c8.tar.bz2
* decl.c (maybe_deduce_size_from_array_init): Use relayout_decl.
From-SVN: r148111
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 645ac7e..bf99b3d 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -4502,7 +4502,7 @@ maybe_deduce_size_from_array_init (tree decl, tree init)
cp_apply_type_quals_to_decl (cp_type_quals (TREE_TYPE (decl)), decl);
- layout_decl (decl, 0);
+ relayout_decl (decl);
}
}