debug/2813: Type of variable is wrong in dwarf2 debugging info

aoliva@redhat.com aoliva@redhat.com
Sun May 13 23:26:00 GMT 2001


>Number:         2813
>Category:       debug
>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 May 13 23:26:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     aoliva@redhat.com
>Release:        GCC 3.0 20010507 and 3.1 20010513
>Organization:
>Environment:
alpha-unknown-linux-gnu and i686-pc-linux-gnu, native and x-mn10300-elf
>Description:
Compiling the attached test with -gdwarf-2 -dA, we find DW_AT_type of variable lave points at the DW_TAG_const_type die constructed for the argument cc, instead of pointing directly to the DW_TAG_base_type that represents type char.

This is a regression from GCC 2.95.2.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="t.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="t.c"

aW50CnF1eDEgKGNvbnN0IGNoYXIgY2MpCnsKICBjaGFyIGxhdmUgPSAnQic7Cn0K



More information about the Gcc-prs mailing list