diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2017-10-19 13:50:10 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2017-10-19 13:50:10 +0000 |
commit | 426776f1b5866046e06fd373fcc39f568c292878 (patch) | |
tree | 51b1717646414039cd001053d3fdd1567f87249a /gcc/function.c | |
parent | 3bb3d60b1e67ececd2e0549f42fbf7d98e024c6b (diff) | |
download | gcc-426776f1b5866046e06fd373fcc39f568c292878.zip gcc-426776f1b5866046e06fd373fcc39f568c292878.tar.gz gcc-426776f1b5866046e06fd373fcc39f568c292878.tar.bz2 |
re PR debug/82509 (DW_AT_endianity issues with attribute scalar_storage_order)
PR debug/82509
* dwarf2out.c (new_die_raw): New static inline function.
(new_die): Use it to create the DIE.
(add_AT_external_die_ref): Likewise.
(clone_die): Likewise.
(clone_as_declaration): Likewise.
(dwarf2out_vms_debug_main_pointer): Likewise.
(base_type_die): Likewise. Remove early return for corner cases.
Do not call add_pubtype on the DIE here.
(is_base_type): Remove ERROR_MARK and return 0 for VOID_TYPE.
(modified_type_die): Adjust the lookup for reverse order DIEs. Skip
typedefs for base types with DW_AT_endianity. Make sure a DIE with
native order exists for base types, attach the DIE manually and call
add_pubtype on it. Do not equate a reverse order DIE to the type.
From-SVN: r253893
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions