>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:
Synopsis: Type of variable is wrong in dwarf2 debugging info State-Changed-From-To: open->analyzed State-Changed-By: mmitchel State-Changed-When: Fri Jun 8 15:44:58 2001 State-Changed-Why: Confirmed. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3039&database=gcc
The following reply was made to PR bootstrap/3039; it has been noted by GNATS. From: Dara Hazeghi <dhazeghi@yahoo.com> To: Sergey.Shalnov@intel.com, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: bootstrap/3039: Type of variable is wrong in dwarf2 debugging info Date: Wed, 21 May 2003 01:11:54 -0700 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- trail&database=gcc&pr=3039 Hello, this bug was last confirmed about two years ago. Do you know if this problem still occurs with current versions of gcc (ie 3.3), and if not, would it be possible for you to check? Thanks, Dara
Synopsis: Type of variable is wrong in dwarf2 debugging info State-Changed-From-To: analyzed->feedback State-Changed-By: cae State-Changed-When: Wed May 21 09:52:47 2003 State-Changed-Why: See Dara's question. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3039