* decl.c (maybe_deduce_size_from_array_init): Use relayout_decl.

From-SVN: r148111
This commit is contained in:
Mark Mitchell 2009-06-03 03:07:49 +00:00 committed by Mark Mitchell
parent 7656ecbc77
commit a3a7bf5fd7
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-06-02 Mark Mitchell <mark@codesourcery.com>
* decl.c (maybe_deduce_size_from_array_init): Use relayout_decl.
2009-06-02 Jason Merrill <jason@redhat.com>
PR c++/40308

View File

@ -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);
}
}