[Issue 14330] New: Global variable causes wrong DWARF type of local variable
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Mar 24 17:50:04 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14330
Issue ID: 14330
Summary: Global variable causes wrong DWARF type of local
variable
Product: D
Version: D2
Hardware: x86
OS: Linux
Status: NEW
Severity: minor
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: mk at krej.cz
__gshared ulong globvar; //ulong triggers bug
void main()
{
string str = "something";
int i;
i++;
}
Breakpoint 1, D main () at dwarfbug.d:8
8 }
(gdb) info locals
str = 578532781965967369
i = 1
(gdb) ptype str
type = unsigned long long
dmd 2.066 and master, x86
--
More information about the Digitalmars-d-bugs
mailing list