public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Sergey.Shalnov@intel.com
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/3039: Type of variable is wrong in dwarf2 debugging info
Date: Sun, 03 Jun 2001 05:36:00 -0000	[thread overview]
Message-ID: <20010603122815.4272.qmail@sourceware.cygnus.com> (raw)

>Number:         3039
>Category:       bootstrap
>Synopsis:       Type of variable is wrong in dwarf2 debugging info
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 03 05:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Sergey.Shalnov@intel.com
>Release:        gcc version 3.0 20010312
>Organization:
>Environment:
ia64-linux-unknown-gnu
Linux itanium003.inn.intel.com 2.4.0test10-001115-58smp #1 SMP
>Description:
typedef long LO1;
typedef double IN1;

void main(){
    LO1 i=222;
    i++;
}

Compiling the test with -gdwarf-2 , we find DW_AT_type of variable "i"
points to the DW_TAG_base_type. This is incorrect.
Correct is points to the DW_TAG_typedef also represented in that debug information.

May be bug report #2971 is the similar problem.
Thank you.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-06-03  5:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-03  5:36 Sergey.Shalnov [this message]
2001-06-08 15:44 mmitchel
2003-05-21  8:16 Dara Hazeghi
2003-05-21  9:56 ehrhardt

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=20010603122815.4272.qmail@sourceware.cygnus.com \
    --to=sergey.shalnov@intel.com \
    --cc=gcc-gnats@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).