public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "redi at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/44645] [4.5 Regression] wrong debug info for nested typedef
Date: Wed, 21 Jul 2010 15:50:00 -0000	[thread overview]
Message-ID: <20100721155023.21763.qmail@sourceware.org> (raw)
In-Reply-To: <bug-44645-16379@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from redi at gcc dot gnu dot org  2010-07-21 15:50 -------
Am I allowed to confirm my own bugs?  doing so anyway

There's no difference when using -gdwarf-2 -gstrict-dwarf

readelf -wi for the output of g++ 4.5 shows S::ptr as:

<1><4f>: Abbrev Number: 5 (DW_TAG_pointer_type)
     DW_AT_byte_size   : 8

which is missing the type, so S::ptr is void*

The output of g++ 4.4 and 4.6 shows:

<1><4f>: Abbrev Number: 5 (DW_TAG_pointer_type)
     DW_AT_byte_size   : 8
     DW_AT_type        : <2d>

where <2d> is the info for S so S::ptr is S*


-- 

redi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-21 15:50:23
               date|                            |


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


  parent reply	other threads:[~2010-07-21 15:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-23 10:53 [Bug c++/44645] New: " redi at gcc dot gnu dot org
2010-06-24 21:32 ` [Bug c++/44645] " rguenth at gcc dot gnu dot org
2010-06-24 22:04 ` rguenth at gcc dot gnu dot org
2010-07-13 11:54 ` [Bug debug/44645] " redi at gcc dot gnu dot org
2010-07-21 15:50 ` redi at gcc dot gnu dot org [this message]
2010-07-31  9:35 ` rguenth at gcc dot gnu dot org
2010-08-19 12:20 ` redi at gcc dot gnu dot org
2010-08-19 12:22 ` redi at gcc dot gnu dot org
2010-08-19 12:26 ` [Bug debug/44645] [4.5 Regression] missing debug info for pointer types redi at gcc dot gnu dot org
2010-08-19 12:32 ` redi at gcc dot gnu dot org
2010-09-18 13:21 ` redi at gcc dot gnu dot org
2010-09-18 13:26 ` hjl dot tools at gmail dot com
2010-09-18 14:13 ` hjl dot tools at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100721155023.21763.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).