aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/iresolve.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-03-11 17:50:08 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2018-03-11 17:50:08 +0100
commitcd5437ab5d98cf95cc6686a533b7d3582bcb1706 (patch)
tree54e2da59d352dcb8b8042f0b4be28546059be6fb /gcc/fortran/iresolve.c
parentff77f6e8b3c1ad4ef3ec86289969e10100911913 (diff)
downloadgcc-cd5437ab5d98cf95cc6686a533b7d3582bcb1706.zip
gcc-cd5437ab5d98cf95cc6686a533b7d3582bcb1706.tar.gz
gcc-cd5437ab5d98cf95cc6686a533b7d3582bcb1706.tar.bz2
re PR debug/58150 (debug info about definition of enum class not emitted if the declaration was already used in a class)
PR debug/58150 * dwarf2out.c (gen_enumeration_type_die): Don't guard adding DW_AT_declaration for ENUM_IS_OPAQUE on -gdwarf-4 or -gno-strict-dwarf, but on TYPE_SIZE. Don't do anything for ENUM_IS_OPAQUE if not creating a new die. Don't set TREE_ASM_WRITTEN if ENUM_IS_OPAQUE. Guard addition of most attributes on !orig_type_die or the attribute not being present already. Assert TYPE_VALUES is NULL for ENUM_IS_OPAQUE. * g++.dg/debug/dwarf2/enum2.C: New test. From-SVN: r258434
Diffstat (limited to 'gcc/fortran/iresolve.c')
0 files changed, 0 insertions, 0 deletions