[Bug 65] New: Debug info wrong for __modtest
gdc-bugzilla at gdcproject.org
gdc-bugzilla at gdcproject.org
Thu Jun 27 10:16:13 PDT 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=65
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 at gdcproject.org
ReportedBy: johannespfau at gmail.com
The debug info for this program is a little strange:
---------
//import std.stdio;
//import std.base64;
void main() {}
unittest
{
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
/opt/gdc/include/d/4.8.1/std/conv.d:104
If std.base64 is imported instead:
0x405d52 test2._D5test29__modtestFZv
/opt/gdc/include/d/4.8.1/std/format.d:1211
Probably produces similar results when importing any other random module as
well.
--
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the D.gnu
mailing list