tree.h (struct record_layout_info): Rename to (struct record_layout_info_s).
authorMark Mitchell <mark@codesourcery.com>
Fri, 26 May 2000 21:40:01 +0000 (21:40 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 26 May 2000 21:40:01 +0000 (21:40 +0000)
* 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

gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/stor-layout.c
gcc/tree.h

index 1795396..a950201 100644 (file)
@@ -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.
index 0b087f8..1acde7b 100644 (file)
@@ -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.
index 2fbdeb4..57746ed 100644 (file)
@@ -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);
index 26aa48b..9194175 100644 (file)
@@ -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;
 
index 1257d0a..f4733d2 100644 (file)
@@ -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;