public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/54773] New: no debug info generated for rvalue reference
@ 2012-10-01 22:22 chihin.ko at oracle dot com
  2012-10-28 13:53 ` [Bug debug/54773] " redi at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: chihin.ko at oracle dot com @ 2012-10-01 22:22 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54773
           Summary: no debug info generated for rvalue reference
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: chihin.ko@oracle.com


Created attachment 28318
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28318
compileable c++ test case and dwarf dump

for c++0x feature rvalue reference, g++ should generate
DW_TAG_rvalue_reference_type, g++ generate DW_TAG_reference_type instead:

see attachment for test cases: a.out.dw 
shows debug info for function "void foo(int&& ii)" are


< 2><0x00000992>      DW_TAG_formal_parameter
                        DW_AT_name                  "ii"
                        DW_AT_decl_file             0x00000001
/net/benjamin2/export/ws/jeanko/ws/dbx_test/bugid/7189973/intel-Linux/t.cc
                        DW_AT_decl_line             0x0000001b
                        DW_AT_type                  <0x000009a0>
                        DW_AT_location              DW_OP_fbreg -24
< 1><0x000009a0>    DW_TAG_const_type
                      DW_AT_type                  <0x000009a5>
< 1><0x000009a5>    DW_TAG_reference_type
                      DW_AT_byte_size             0x00000008
                      DW_AT_type                  <0x00000062>


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

end of thread, other threads:[~2015-04-22 22:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-01 22:22 [Bug debug/54773] New: no debug info generated for rvalue reference chihin.ko at oracle dot com
2012-10-28 13:53 ` [Bug debug/54773] " redi at gcc dot gnu.org
2014-08-13  1:30 ` chihin.ko at oracle dot com
2015-04-22 22:45 ` chihin.ko at oracle dot com

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).