www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3373] New: bad codeview debug info for long and ulong

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3373

           Summary: bad codeview debug info for long and ulong
           Product: D
           Version: 2.033
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: r.sagitario gmx.de



PDT ---
The codeview debug info emitted by dmd for long and ulong types are a bad
delegate and dynamic-array of ints, respectively.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 07 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3373


Rainer Schuetze <r.sagitario gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch, wrong-code



PDT ---
This is caused a bad check in cv4_typeidx() that will never use the basic
types, because cv4_typidx(t->Tnext) never returns 0. Instead, t->Tnext should
be tested:

Index: cgcv.c
===================================================================
--- cgcv.c    (revision 201)
+++ cgcv.c    (working copy)
   -1677,14 +1677,14   
     switch (tym)
     {
     case TYllong:
-        if (next)
+        if (t->Tnext)
         goto Ldelegate;
         assert(dt);
         typidx = dt;
         break;

     case TYullong:
-        if (next)
+        if (t->Tnext)
         goto Ldarray;
         assert(dt);
         typidx = dt;

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 08 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3373


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com



02:58:12 PST ---
changelog 369

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 05 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3373


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



22:19:56 PST ---
Fixed dmd 1.057 and 2.041

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