Bug 14330 – Wrong DWARF type of dynamic array variable

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2015-03-25T00:50:00Z
Last change time
2015-06-17T21:03:20Z
Keywords
pull, symdeb
Assigned to
nobody
Creator
mk

Comments

Comment #0 by mk — 2015-03-25T00:50:04Z
__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
Comment #1 by mk — 2015-03-29T01:50:51Z
Comment #2 by github-bugzilla — 2015-03-30T06:14:37Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/614c756180296550be45e4f3f81223f16ede8eb1 Fix Issue 14330 - Wrong DWARF type of dynamic array variable https://github.com/D-Programming-Language/dmd/commit/afd746b8623fd5d9322f89af7b5c40d11758607c Merge pull request #4526 from tramker/bug14330 Fix Issue 14330 - Wrong DWARF type of dynamic array variable
Comment #3 by github-bugzilla — 2015-06-17T21:03:20Z