From: Mark Mitchell Date: Fri, 26 May 2000 21:40:01 +0000 (+0000) Subject: tree.h (struct record_layout_info): Rename to (struct record_layout_info_s). X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=defd0dea5225507ddcb79045af1f605b0b443ed6;p=platform%2Fupstream%2Fgcc.git 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 --- 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 + + * 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 * 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 + + * class.c (layout_nonempty_base_or_field): Replace + `record_layout_info' with `record_layout_info_s'. + 2000-05-26 Jason Merrill 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; diff --git a/gcc/tree.h b/gcc/tree.h index 1257d0a..f4733d2 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -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;