public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/60782] New: DWARF does not represent _Atomic
@ 2014-04-07 20:18 tromey at gcc dot gnu.org
  2014-06-23 17:08 ` [Bug debug/60782] " mark at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tromey at gcc dot gnu.org @ 2014-04-07 20:18 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60782

            Bug ID: 60782
           Summary: DWARF does not represent _Atomic
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tromey at gcc dot gnu.org

C11 has the _Atomic qualifier, but it isn't emitted
in DWARF.

I found this thread referencing the problem, but no
corresponding GCC bug report:

http://gcc.gnu.org/ml/gcc/2013-11/msg00139.html

The DWARF bug report is here:

http://www.dwarfstd.org/ShowIssue.php?issue=131112.1

This should be available in DWARF 5.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug debug/60782] DWARF does not represent _Atomic
  2014-04-07 20:18 [Bug debug/60782] New: DWARF does not represent _Atomic tromey at gcc dot gnu.org
@ 2014-06-23 17:08 ` mark at gcc dot gnu.org
  2014-09-22  9:11 ` mpolacek at gcc dot gnu.org
  2014-12-08 22:33 ` mark at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at gcc dot gnu.org @ 2014-06-23 17:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60782

Mark Wielaard <mark at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at gcc dot gnu.org

--- Comment #1 from Mark Wielaard <mark at gcc dot gnu.org> ---
Posted a prototype patch:
https://gcc.gnu.org/ml/gcc-patches/2014-06/msg01677.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug debug/60782] DWARF does not represent _Atomic
  2014-04-07 20:18 [Bug debug/60782] New: DWARF does not represent _Atomic tromey at gcc dot gnu.org
  2014-06-23 17:08 ` [Bug debug/60782] " mark at gcc dot gnu.org
@ 2014-09-22  9:11 ` mpolacek at gcc dot gnu.org
  2014-12-08 22:33 ` mark at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-09-22  9:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60782

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-09-22
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug debug/60782] DWARF does not represent _Atomic
  2014-04-07 20:18 [Bug debug/60782] New: DWARF does not represent _Atomic tromey at gcc dot gnu.org
  2014-06-23 17:08 ` [Bug debug/60782] " mark at gcc dot gnu.org
  2014-09-22  9:11 ` mpolacek at gcc dot gnu.org
@ 2014-12-08 22:33 ` mark at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at gcc dot gnu.org @ 2014-12-08 22:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60782

--- Comment #3 from Mark Wielaard <mark at gcc dot gnu.org> ---
Author: mark
Date: Mon Dec  8 22:32:23 2014
New Revision: 218496

URL: https://gcc.gnu.org/viewcvs?rev=218496&root=gcc&view=rev
Log:
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.

Added:
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/atomic.c
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/stacked-qualified-types-3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog
    trunk/include/ChangeLog
    trunk/include/dwarf2.def


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-08 22:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-07 20:18 [Bug debug/60782] New: DWARF does not represent _Atomic tromey at gcc dot gnu.org
2014-06-23 17:08 ` [Bug debug/60782] " mark at gcc dot gnu.org
2014-09-22  9:11 ` mpolacek at gcc dot gnu.org
2014-12-08 22:33 ` mark at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).