diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-05-26 21:40:01 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-05-26 21:40:01 +0000 |
commit | defd0dea5225507ddcb79045af1f605b0b443ed6 (patch) | |
tree | 958c766176db9f4e6f187537ab4f5b58619ec7a0 | |
parent | 6625cdb595e9fa7c320e94c229c5e272893d0206 (diff) | |
download | gcc-defd0dea5225507ddcb79045af1f605b0b443ed6.zip gcc-defd0dea5225507ddcb79045af1f605b0b443ed6.tar.gz gcc-defd0dea5225507ddcb79045af1f605b0b443ed6.tar.bz2 |
tree.h (struct record_layout_info): Rename to (struct record_layout_info_s).
* tree.h (struct record_layout_info): Rename to (struct
record_layout_info_s).
* stor-layout.c (start_record_layout): Replace
`record_layout_info' with `record_layout_info_s'.
* class.c (layout_nonempty_base_or_field): Replace
`record_layout_info' with `record_layout_info_s'.
From-SVN: r34199
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/class.c | 2 | ||||
-rw-r--r-- | gcc/stor-layout.c | 2 | ||||
-rw-r--r-- | gcc/tree.h | 2 |
5 files changed, 15 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1795396..a950201 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2000-05-26 Mark Mitchell <mark@codesourcery.com> + + * tree.h (struct record_layout_info): Rename to (struct + record_layout_info_s). + * stor-layout.c (start_record_layout): Replace + `record_layout_info' with `record_layout_info_s'. + 2000-05-26 Richard Earnshaw <rearnsha@arm.com> * flow.c (find_label_refs): New function. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0b087f8..1acde7b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2000-05-26 Mark Mitchell <mark@codesourcery.com> + + * class.c (layout_nonempty_base_or_field): Replace + `record_layout_info' with `record_layout_info_s'. + 2000-05-26 Jason Merrill <jason@casey.soma.redhat.com> Fix goto checking. diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 2fbdeb4..57746ed 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -3656,7 +3656,7 @@ layout_nonempty_base_or_field (rli, decl, binfo, v) while (1) { tree offset; - struct record_layout_info old_rli = *rli; + struct record_layout_info_s old_rli = *rli; /* Place this field. */ place_field (rli, decl); diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 26aa48b..9194175 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -410,7 +410,7 @@ start_record_layout (t) tree t; { record_layout_info rli - = (record_layout_info) xmalloc (sizeof (struct record_layout_info)); + = (record_layout_info) xmalloc (sizeof (struct record_layout_info_s)); rli->t = t; @@ -1958,7 +1958,7 @@ extern void layout_type PARAMS ((tree)); fields. Then, call finish_record_layout. See layout_type for the default way in which these functions are used. */ -typedef struct record_layout_info +typedef struct record_layout_info_s { /* The RECORD_TYPE that we are laying out. */ tree t; |