DWARFv5 Emit DW_TAG_atomic_type for C11 _Atomic.
authorMark Wielaard <mjw@redhat.com>
Mon, 8 Dec 2014 22:32:23 +0000 (22:32 +0000)
committerMark Wielaard <mark@gcc.gnu.org>
Mon, 8 Dec 2014 22:32:23 +0000 (22:32 +0000)
commitbc3518da23383b0e173020a46334fe22b6b67891
tree531ce47029cd14edfcc8e5647401475bb0f0b787
parent009a34807ec71e18107582878b61096a584110a2
DWARFv5 Emit DW_TAG_atomic_type for C11 _Atomic.

This implements the DW_TAG_atomic_type for C11 _Atomic proposal as adopted
in the latest DWARF5 draft. http://dwarfstd.org/ShowIssue.php?issue=131112.1

gcc/ChangeLog

PR debug/60782
* dwarf2out.c (modified_type_die): Handle TYPE_QUAL_ATOMIC.

gcc/testsuite/ChangeLog

PR debug/60782
* gcc.dg/debug/dwarf2/atomic.c: New test.
* gcc.dg/debug/dwarf2/stacked-qualified-types-3.c: Likewise.

include/ChangeLog

PR debug/60782
* dwarf2.def: Add DWARFv5 DW_TAG_atomic_type.

From-SVN: r218496
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/dwarf2/atomic.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/debug/dwarf2/stacked-qualified-types-3.c [new file with mode: 0644]
include/ChangeLog
include/dwarf2.def