public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/49871] New: -gdwarf-3 creates invalid DWARF3 with DW_AT_data_member_location attribute
@ 2011-07-27 16:32 jakub at gcc dot gnu.org
  2011-07-27 17:24 ` [Bug debug/49871] " jakub at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-07-27 16:32 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: -gdwarf-3 creates invalid DWARF3 with
                    DW_AT_data_member_location attribute
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Keywords: wrong-debug
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org


As mentioned in
http://sources.redhat.com/ml/binutils/2011-07/msg00237.html

/* { dg-options "-gdwarf-3" } */
struct s { char a[1<<24]; int b; } s;

results in invalid DWARF3, as DW_AT_data_member_location attribute uses
DW_FORM_data4 for constant value, while the standard says that in this case
DW_FORM_data4 or DW_FORM_data8 aren't allowed for constants and are used for
loclistptr instead.


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

end of thread, other threads:[~2011-07-28 21:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-27 16:32 [Bug debug/49871] New: -gdwarf-3 creates invalid DWARF3 with DW_AT_data_member_location attribute jakub at gcc dot gnu.org
2011-07-27 17:24 ` [Bug debug/49871] " jakub at gcc dot gnu.org
2011-07-28 16:22 ` jakub at gcc dot gnu.org
2011-07-28 20:38 ` jakub at gcc dot gnu.org
2011-07-28 21:12 ` jakub 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).