diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-10 11:02:37 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-10 11:02:37 +0000 |
commit | 48fdacd0bd7cd8db04af007f087543373cb766c9 (patch) | |
tree | 9bde39acaf3c33712f5455337f3bfa1d7e8a4d1f /gcc/stor-layout.c | |
parent | 23cbbcf771dd276f571b1ae3bb4d0e5b96c99805 (diff) | |
download | gcc-48fdacd0bd7cd8db04af007f087543373cb766c9.tar.gz |
* dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
abstract instance of a nested inline function.
* stor-layout.c (finish_record_layout): finalize_type_size
before laying out the pending_statics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33820 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index eadb9732a8f..ad7768f1487 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -1162,6 +1162,9 @@ finish_record_layout (rli) /* Compute the TYPE_MODE for the record. */ compute_record_mode (rli->t); + /* Perform any last tweaks to the TYPE_SIZE, etc. */ + finalize_type_size (rli->t); + /* Lay out any static members. This is done now because their type may use the record's type. */ while (rli->pending_statics) @@ -1170,9 +1173,6 @@ finish_record_layout (rli) rli->pending_statics = TREE_CHAIN (rli->pending_statics); } - /* Perform any last tweaks to the TYPE_SIZE, etc. */ - finalize_type_size (rli->t); - /* Clean up. */ free (rli); } |