This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/3039: Type of variable is wrong in dwarf2 debugging info
- To: gcc-gnats at gcc dot gnu dot org
- Subject: bootstrap/3039: Type of variable is wrong in dwarf2 debugging info
- From: Sergey dot Shalnov at intel dot com
- Date: 3 Jun 2001 12:28:15 -0000
- Reply-To: Sergey dot Shalnov at intel dot com
>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: