aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2018-12-06 01:14:41 +0100
committerUros Bizjak <uros@gcc.gnu.org>2018-12-06 01:14:41 +0100
commitb942e9e5727ec89e964aceffe77d4d01d1a4a957 (patch)
treeb568a3cf40ab2c108fdbe04d9d430ddf3f8d0646 /gcc/dwarf2out.c
parent665db3aeb48f0f0970bb0e01f37f9fd9fb013ea4 (diff)
downloadgcc-b942e9e5727ec89e964aceffe77d4d01d1a4a957.zip
gcc-b942e9e5727ec89e964aceffe77d4d01d1a4a957.tar.gz
gcc-b942e9e5727ec89e964aceffe77d4d01d1a4a957.tar.bz2
dwarf2out.c (field_byte_offset): Remove #ifdef PCC_BITFIELD_TYPE_MATTERS check.
* dwarf2out.c (field_byte_offset): Remove #ifdef PCC_BITFIELD_TYPE_MATTERS check. From-SVN: r266834
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 8b64c87..99ac40f 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -18985,7 +18985,6 @@ field_byte_offset (const_tree decl, struct vlr_context *ctx,
if (TREE_CODE (DECL_FIELD_BIT_OFFSET (decl)) != INTEGER_CST)
return NULL;
-#ifdef PCC_BITFIELD_TYPE_MATTERS
/* We used to handle only constant offsets in all cases. Now, we handle
properly dynamic byte offsets only when PCC bitfield type doesn't
matter. */
@@ -19100,7 +19099,6 @@ field_byte_offset (const_tree decl, struct vlr_context *ctx,
tree_result = wide_int_to_tree (sizetype, object_offset_in_bytes);
}
else
-#endif /* PCC_BITFIELD_TYPE_MATTERS */
tree_result = byte_position (decl);
if (ctx->variant_part_offset != NULL_TREE)