diff options
| author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-01 19:43:37 +0000 |
|---|---|---|
| committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-01 19:43:37 +0000 |
| commit | a7160c20ef4820cb4ef9022e8d770037be5b387b (patch) | |
| tree | f1bb59097e0eacbfb2eedd62b6eaec43382e91ff /gcc | |
| parent | e9b9d93c91a04080235401979d3a764d60821532 (diff) | |
| download | ppe42-gcc-a7160c20ef4820cb4ef9022e8d770037be5b387b.tar.gz ppe42-gcc-a7160c20ef4820cb4ef9022e8d770037be5b387b.zip | |
2005-06-30 Daniel Berlin <dberlin@dberlin.org>
* decl.c (require_complete_types_for_parms): Call relayout_decl
instead of layout_decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101515 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -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 af099af8928..e67ed48dece 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 4379973448e..5eebd814849 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)); } } |

