This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bootstrap/3039: Type of variable is wrong in dwarf2 debugging info



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]