aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-04-28 04:42:04 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-04-28 04:42:04 +0000
commit1d0275e2bba963ca0292c258c62a6a221b2e77ca (patch)
tree43b9bc0511433ff107c5a485453b674a883571cf /gcc/dwarf2out.c
parentaedf2c028364c9e97a8480cff1a646feb5a21a63 (diff)
downloadgcc-1d0275e2bba963ca0292c258c62a6a221b2e77ca.zip
gcc-1d0275e2bba963ca0292c258c62a6a221b2e77ca.tar.gz
gcc-1d0275e2bba963ca0292c258c62a6a221b2e77ca.tar.bz2
add default for PCC_BITFIELD_TYPE_MATTERS
gcc/ChangeLog: 2015-04-27 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * defaults.h (PCC_BITFIELD_TYPE_MATTERS): Add default definition to false. * dwarf2out.c (field_byte_offset): REmove check if PCC_BITFIELD_TYPE_MATTERS is defined. * stor-layout.c (layout_decl): Likewise. (update_alignment_for_field): Likewise. (place_field): Likewise. gcc/cp/ChangeLog: 2015-04-27 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * class.c (layout_class_type): Remove check if PCC_BITFIELD_TYPE_MATTERS is defined. From-SVN: r222503
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index a04e6f6..8591cd7 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -15120,7 +15120,6 @@ field_byte_offset (const_tree decl)
bitpos_int = wi::to_offset (bit_position (decl));
-#ifdef PCC_BITFIELD_TYPE_MATTERS
if (PCC_BITFIELD_TYPE_MATTERS)
{
tree type;
@@ -15218,7 +15217,6 @@ field_byte_offset (const_tree decl)
}
}
else
-#endif /* PCC_BITFIELD_TYPE_MATTERS */
object_offset_in_bits = bitpos_int;
object_offset_in_bytes