diff options
author | Alexandre Oliva <oliva@gnu.org> | 2024-06-13 21:03:35 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2024-06-13 21:03:35 -0300 |
commit | 78352395e94fda574fa2d9c711c57f9099807f2b (patch) | |
tree | bc44f84a3b2ace211bba87c85d21e6d238fabf80 /gcc/ada | |
parent | 5476853b225e1327ec857ee34fdec64429af84f6 (diff) | |
download | gcc-78352395e94fda574fa2d9c711c57f9099807f2b.zip gcc-78352395e94fda574fa2d9c711c57f9099807f2b.tar.gz gcc-78352395e94fda574fa2d9c711c57f9099807f2b.tar.bz2 |
Revert "map packed field type to unpacked for debug info"
This reverts commit ea5c9f25241ae0658180afbcad7f4e298352f561.
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/gcc-interface/decl.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/ada/gcc-interface/decl.cc b/gcc/ada/gcc-interface/decl.cc index e97ff64..8b72c96c 100644 --- a/gcc/ada/gcc-interface/decl.cc +++ b/gcc/ada/gcc-interface/decl.cc @@ -7786,7 +7786,6 @@ gnat_to_gnu_field (Entity_Id gnat_field, tree gnu_record_type, int packed, /* If a size is specified, adjust the field's type to it. */ if (gnu_size) { - tree debug_field_type = gnu_field_type; tree orig_field_type; /* If the field's type is justified modular, we would need to remove @@ -7845,9 +7844,6 @@ gnat_to_gnu_field (Entity_Id gnat_field, tree gnu_record_type, int packed, && !DECL_P (TYPE_NAME (gnu_field_type))) create_type_decl (TYPE_NAME (gnu_field_type), gnu_field_type, true, debug_info_p, gnat_field); - - if (debug_info_p && gnu_field_type != debug_field_type) - SET_TYPE_DEBUG_TYPE (gnu_field_type, debug_field_type); } /* Otherwise (or if there was an error), don't specify a position. */ |