* decl.c (maybe_deduce_size_from_array_init): Use relayout_decl.
From-SVN: r148111
This commit is contained in:
parent
7656ecbc77
commit
a3a7bf5fd7
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user