[Issue 4038] New: [gdb] Invalid DWARF output for function pointers with ref args

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 1 12:19:05 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4038

           Summary: [gdb] Invalid DWARF output for function pointers with
                    ref args
           Product: D
           Version: 1.055
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: robert at octarineparrot.com


--- Comment #0 from Robert Clipsham <robert at octarineparrot.com> 2010-04-01 20:19:03 BST ---
The following test case:
----
void function(ref int) foobar;
void main(){}
----
Causes dmd to produce invalid debug info. There is no case for TYref, so it
defaults to 0, and that is never valid for a DW_AT_type.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list