X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fstor-layout.c;h=41c8fefc1088d964872eac225fbe4d250579d716;hb=2f895281e87cdfc62be1f0a8ecc32ada4d8834da;hp=ff46687834db93cbc2f82879b843eb2c04803742;hpb=bb51041ccbf9da99fd8a86e85c77ac801be071bf;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index ff46687834d..41c8fefc108 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -138,7 +138,7 @@ variable_size (tree size) places. */ save = skip_simple_arithmetic (size); - if (cfun && cfun->x_dont_save_pending_sizes_p) + if (cfun && cfun->dont_save_pending_sizes_p) /* The front-end doesn't want us to keep a list of the expressions that determine sizes for variable size objects. Trust it. */ return size; @@ -699,9 +699,6 @@ update_alignment_for_field (record_layout_info rli, tree field, && ! integer_zerop (DECL_SIZE (rli->prev_field))))) { unsigned int type_align = TYPE_ALIGN (type); - unsigned int type_size - = tree_low_cst (TYPE_SIZE (type), 1); - type_align = MAX (type_align, type_size); type_align = MAX (type_align, desired_align); if (maximum_field_alignment != 0) type_align = MIN (type_align, maximum_field_alignment);