diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-03-20 16:50:36 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-03-20 16:50:36 +0000 |
commit | 245f1bfacf4af13a28da3700f110090c20139b4d (patch) | |
tree | 5727d10bba8606030ca18bedde7b44e13e841310 /gcc/stor-layout.c | |
parent | 09b844e33c3f479d9f60b001bcb081521d911629 (diff) | |
download | gcc-245f1bfacf4af13a28da3700f110090c20139b4d.zip gcc-245f1bfacf4af13a28da3700f110090c20139b4d.tar.gz gcc-245f1bfacf4af13a28da3700f110090c20139b4d.tar.bz2 |
bb-reorder.c, [...]: Replace calls via (*targetm.foo) () with targetm.foo ().
* bb-reorder.c, bt-load.c, c-decl.c, cfgcleanup.c, coverage.c,
dwarf2asm.c, ifcvt.c, stor-layout.c, varasm.c: Replace calls
via (*targetm.foo) () with targetm.foo ().
From-SVN: r79750
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 2b039db..ab5345c 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -694,7 +694,7 @@ update_alignment_for_field (record_layout_info rli, tree field, /* Record must have at least as much alignment as any field. Otherwise, the alignment of the field within the record is meaningless. */ - if (is_bitfield && (* targetm.ms_bitfield_layout_p) (rli->t)) + if (is_bitfield && targetm.ms_bitfield_layout_p (rli->t)) { /* Here, the alignment of the underlying type of a bitfield can affect the alignment of a record; even a zero-sized field @@ -914,7 +914,7 @@ place_field (record_layout_info rli, tree field) variable-sized fields, we need not worry about compatibility. */ #ifdef PCC_BITFIELD_TYPE_MATTERS if (PCC_BITFIELD_TYPE_MATTERS - && ! (* targetm.ms_bitfield_layout_p) (rli->t) + && ! targetm.ms_bitfield_layout_p (rli->t) && TREE_CODE (field) == FIELD_DECL && type != error_mark_node && DECL_BIT_FIELD (field) @@ -947,7 +947,7 @@ place_field (record_layout_info rli, tree field) #ifdef BITFIELD_NBYTES_LIMITED if (BITFIELD_NBYTES_LIMITED - && ! (* targetm.ms_bitfield_layout_p) (rli->t) + && ! targetm.ms_bitfield_layout_p (rli->t) && TREE_CODE (field) == FIELD_DECL && type != error_mark_node && DECL_BIT_FIELD_TYPE (field) @@ -998,7 +998,7 @@ place_field (record_layout_info rli, tree field) Note: for compatibility, we use the type size, not the type alignment to determine alignment, since that matches the documentation */ - if ((* targetm.ms_bitfield_layout_p) (rli->t) + if (targetm.ms_bitfield_layout_p (rli->t) && ((DECL_BIT_FIELD_TYPE (field) && ! DECL_PACKED (field)) || (rli->prev_field && ! DECL_PACKED (rli->prev_field)))) { |