aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2020-05-05 12:35:00 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 12:57:48 -0300
commit723a326411ea438321353d0b263948866fe5c70f (patch)
treea96ba1c5e5be9ae1a75c714ed4d5aee876af2603 /gcc/tree-inline.c
parentcb9437fb467f4b53953208f35be5e5dcd1ed8d4a (diff)
downloadgcc-723a326411ea438321353d0b263948866fe5c70f.zip
gcc-723a326411ea438321353d0b263948866fe5c70f.tar.gz
gcc-723a326411ea438321353d0b263948866fe5c70f.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-inline.c')
0 files changed, 0 insertions, 0 deletions