www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 65] New: Debug info wrong for __modtest


             Bug #: 65
           Summary: Debug info wrong for __modtest
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw gdcproject.org
        ReportedBy: johannespfau gmail.com

The debug info for this program is a little strange:
//import std.stdio;
//import std.base64;
void main() {}

    int* a = null;
    *a = 10;

If both imports are commented the modtest function doesn't show up in stack
traces at all.

If std.stdio is imported:
0x405cd2 test2._D5test29__modtestFZv

If std.base64 is imported instead:
0x405d52 test2._D5test29__modtestFZv

Probably produces similar results when importing any other random module as

Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Jun 27 2013