← Back to index
|
Original Bugzilla link
Bug 700 – unexpected __t8__ in global symbol __t8__D3std6stream20__T12TArrayStreamThZ12TArrayStream9availableMFZk
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2006-12-20T03:09:00Z
Last change time
2015-06-09T05:14:57Z
Assigned to
ibuclaw
Creator
thomas-dloop
Comments
Comment #0
by thomas-dloop — 2006-12-20T03:09:47Z
(this is a known issue, see d/d-decls.cc's FuncDeclaration::toThunkSymbol) # # module std.stream; # # interface InputStream{ # size_t available(); # } # # class Stream : InputStream{ # size_t available(){ # return 0; # } # } # # class TArrayStream(Buffer) : Stream{ # size_t available(){ # return 0; # } # } # # class MemoryStream : TArrayStream!(ubyte){ # } # gdc creates the following symbol as global instead of local: __t8__D3std6stream20__T12TArrayStreamThZ12TArrayStream9availableMFZk
Comment #1
by ibuclaw — 2011-04-12T03:35:27Z
Fixed in 0.26, GDC now generates a unique, private temp symbol: ___t.UID Changeset 0066ecfe85f1