]> gcc.gnu.org Git - gcc.git/commitdiff
dwarf2out.c (field_byte_offset): Remove #ifdef PCC_BITFIELD_TYPE_MATTERS check.
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 6 Dec 2018 00:14:41 +0000 (01:14 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 6 Dec 2018 00:14:41 +0000 (01:14 +0100)
* dwarf2out.c (field_byte_offset): Remove
#ifdef PCC_BITFIELD_TYPE_MATTERS check.

From-SVN: r266834

gcc/ChangeLog
gcc/dwarf2out.c

index 639f5cfd9849048f8c6722d786d4814550c0017b..05f9a6dc29bb401487e06ecbd6e9c2f29febea7b 100644 (file)
@@ -1,5 +1,10 @@
+2018-12-05  Uros Bizjak  <ubizjak@gmail.com>
+
+       * dwarf2out.c (field_byte_offset): Remove
+       #ifdef PCC_BITFIELD_TYPE_MATTERS check.
+
 2018-12-05  Richard Biener  <rguenther@suse.de>
-           Martin Sebor <msebor@redhat.com>
+           Martin Sebor  <msebor@redhat.com>
 
        PR c/87028
        * calls.c (get_attr_nonstring_decl): Avoid setting *REF to
index 8b64c8769cd42bf08c663aa80062afed390588c8..99ac40f0b9f89b4062a39898b0c4a5b457935aeb 100644 (file)
@@ -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)
This page took 0.13157 seconds and 5 git commands to generate.