Richard Kenner
8df0611867
(layout_record): If the place where we were going to put a field
...
changed, lay it out again.
From-SVN: r6793
1994-03-16 06:57:14 -05:00
Richard Kenner
68de38314c
(variable_size): If global_bindings_p < 0, don't even make the
...
SAVE_EXPR.
From-SVN: r6674
1994-02-28 07:37:26 -05:00
Mike Stump
33d7026fec
cp-class.c (finish_struct): Move special C++ only code that handles anonymous unions inside structures here.
...
* cp-class.c (finish_struct): Move special C++ only code that
handles anonymous unions inside structures here.
* stor-layout.c (layout_record): From here.
From-SVN: r5403
1993-09-22 18:43:15 +00:00
Richard Stallman
da57b63af9
(layout_record): Turn off PCC_BITFIELD_TYPE_MATTERS
...
rounding of field bitpos, if maximum_field_alignment is nonzero.
From-SVN: r5318
1993-09-14 12:13:39 +00:00
Richard Kenner
a638896014
(layout_type): Put size-related nodes in same obstack as type.
...
From-SVN: r5079
1993-08-05 19:23:52 -04:00
Richard Kenner
5e9bec999e
Add prototypes for layout_record and layout_union.
...
(smallest_mode_for_size): New function.
(variable_size): Allow variable sizes if global_bindings_p returns a negative
value.
(mode_for_size): Fix incorrect comment.
(layout_decl): If DECL has a size already, don't copy from type.
(layout_type, case INTEGER_TYPE, ENUMERAL_TYPE): Use smallest integer mode
that fits, whether or not it fits exactly.
From-SVN: r4776
1993-06-27 21:14:04 -04:00
Richard Kenner
1aa4cb3a3c
(layout_union): Handle QUAL_UNION_TYPE.
...
(layout_type): Call layout_union for QUAL_UNION_TYPE and treat it
like UNION_TYPE elsewhere.
From-SVN: r4119
1993-04-13 06:48:10 -04:00
Richard Kenner
cbcf989d7f
(layout_record): After copying the offsets of a field that is an anonymous union to the offsets of the fields of that union...
...
(layout_record): After copying the offsets of a field that is an
anonymous union to the offsets of the fields of that union, zero the
offset of the anonymous field in case it is used to access the inner
fields.
From-SVN: r4083
1993-04-11 06:41:55 -04:00
Richard Kenner
93609dfb14
(variable_size): When evaluating sizes of variable types, do so just
...
for side-effects (the SAVE_EXPRs).
From-SVN: r3895
1993-03-27 13:41:31 -05:00
Richard Stallman
80f9c711d9
(variable_size): Better error for div by 0 in size.
...
From-SVN: r3722
1993-03-12 23:17:41 +00:00
Jim Wilson
1375607443
(make_signed_type): Consistently use HOST_BITS_PER_WIDE_INT.
...
(make_signed_type): Consistently use
HOST_BITS_PER_WIDE_INT. Correct minor formatting problems.
(fixup_signed_type): Use HOST_BITS_PER_WIDE_INT and HOST_WIDE_INT
like make_signed_type does.
(fixup_unsigned_type): Correct minor formatting problem.
From-SVN: r3263
1993-01-18 10:41:46 -08:00
Richard Stallman
607207cf7d
(variable_size): Change back to NULL_PTR.
...
From-SVN: r3216
1993-01-13 04:25:24 +00:00
Brendan Kehoe
c958ca9fb6
stor-layout.c (variable_size): Call expand_expr with a NULL_RTX, not a NULL_PTR.
...
* stor-layout.c (variable_size): Call expand_expr with a NULL_RTX,
not a NULL_PTR.
From-SVN: r3208
1993-01-12 18:29:42 -05:00
Richard Stallman
370f6918c2
(layout_record): Avoid overflow in const_size by adding into var_size instead.
...
From-SVN: r3007
1992-12-31 08:33:11 +00:00
Richard Stallman
4cc89e5371
(layout_type): Caller must give size of FILE_TYPE.
...
(layout_type): Handle BOOLEAN_TYPE, CHAR_TYPE, FILE_TYPE for Pascal.
(fixup_signed_type): New function.
From-SVN: r2080
1992-09-09 06:28:36 +00:00
Richard Stallman
e2301a83da
(layout_record): Take account of
...
maximum_field_alignment when using the field's alignment.
From-SVN: r1739
1992-08-01 18:08:36 +00:00
Richard Stallman
e0b382b17a
(layout_record): Handle NULL dsize.
...
From-SVN: r1592
1992-07-15 18:39:27 +00:00
Charles Hannum
c166a31116
entered into RCS
...
From-SVN: r1476
1992-07-06 20:15:06 +00:00
Richard Stallman
d4c40650c2
*** empty log message ***
...
From-SVN: r1355
1992-06-30 03:10:06 +00:00
Richard Kenner
77fa0940a0
*** empty log message ***
...
From-SVN: r1223
1992-06-20 06:51:46 -04:00
Tom Wood
77f934bbbf
*** empty log message ***
...
From-SVN: r732
1992-04-13 10:58:19 +00:00
Tom Wood
cdc54cc9f9
*** empty log message ***
...
From-SVN: r729
1992-04-12 14:34:57 +00:00
Richard Kenner
e7c33f5411
*** empty log message ***
...
From-SVN: r652
1992-03-31 18:13:36 -05:00
Richard Stallman
23ad4d4130
*** empty log message ***
...
From-SVN: r619
1992-03-29 03:05:58 +00:00
Richard Stallman
4e4b555d33
*** empty log message ***
...
From-SVN: r451
1992-03-12 04:27:36 +00:00
Michael Tiemann
321cb743c7
*** empty log message ***
...
From-SVN: r389
1992-03-04 07:29:59 +00:00
Jim Wilson
7306ed3fb6
Initial revision
...
From-SVN: r348
1992-02-18 17:07:30 -08:00