diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2005-07-01 19:43:37 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2005-07-01 19:43:37 +0000 |
commit | 7523dc31c39c8ce458de40fca13f1b25a19dd942 (patch) | |
tree | f1bb59097e0eacbfb2eedd62b6eaec43382e91ff /gcc/cp | |
parent | 930c22e55850b3f7841a6e9f2680007c3cb2cd46 (diff) | |
download | gcc-7523dc31c39c8ce458de40fca13f1b25a19dd942.zip gcc-7523dc31c39c8ce458de40fca13f1b25a19dd942.tar.gz gcc-7523dc31c39c8ce458de40fca13f1b25a19dd942.tar.bz2 |
decl.c (require_complete_types_for_parms): Call relayout_decl instead of layout_decl.
2005-06-30 Daniel Berlin <dberlin@dberlin.org>
* decl.c (require_complete_types_for_parms): Call relayout_decl
instead of layout_decl.
From-SVN: r101515
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/decl.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index af099af..e67ed48 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2005-06-30 Daniel Berlin <dberlin@dberlin.org> + + * decl.c (require_complete_types_for_parms): Call relayout_decl + instead of layout_decl. + 2005-06-30 Zack Weinberg <zack@codesourcery.com> Jakub Jelinek <jakub@redhat.com> diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 4379973..5eebd81 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -8207,7 +8207,7 @@ require_complete_types_for_parms (tree parms) TREE_TYPE (parms) = error_mark_node; else if (complete_type_or_else (TREE_TYPE (parms), parms)) { - layout_decl (parms, 0); + relayout_decl (parms); DECL_ARG_TYPE (parms) = type_passed_as (TREE_TYPE (parms)); } } |