aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-im.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2020-05-05 12:35:00 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2020-05-07 10:54:09 +0200
commit834e660ea8e0fbf26d937aa641aacaeeff7c5d60 (patch)
treea96ba1c5e5be9ae1a75c714ed4d5aee876af2603 /gcc/tree-ssa-loop-im.c
parentb24fc8a692e3f2a8bd89d7ccb230ad3c72323e73 (diff)
downloadgcc-834e660ea8e0fbf26d937aa641aacaeeff7c5d60.zip
gcc-834e660ea8e0fbf26d937aa641aacaeeff7c5d60.tar.gz
gcc-834e660ea8e0fbf26d937aa641aacaeeff7c5d60.tar.bz2
Fix a few DWARF bugs with -fgnat-encodings=minimal
The -fgnat-encodings=minimal switch tells the compiler to generate mostly pure DWARF for the GNAT compiler and it contains some bugs related to discriminated record types with variant part. * dwarf2out.c (add_data_member_location_attribute): Account for the variant part offset in the computation of the data bit offset. (add_bit_offset_attribute): Remove CTX parameter. Pass a new context in the call to field_byte_offset. (gen_field_die): Adjust call to add_bit_offset_attribute and remove confusing assertion. (analyze_variant_discr): Deal with boolean subtypes.
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
0 files changed, 0 insertions, 0 deletions