November 06, 2013 [Bug 83] New: ICE: TypeStruct::toCBuffer2 | ||||
---|---|---|---|---|
| ||||
http://bugzilla.gdcproject.org/show_bug.cgi?id=83 Bug #: 83 Summary: ICE: TypeStruct::toCBuffer2 Classification: Unclassified Product: GDC Version: development Platform: x86_64 OS/Version: All Status: NEW Severity: normal Priority: Normal Component: gdc AssignedTo: ibuclaw@gdcproject.org ReportedBy: ibuclaw@gdcproject.org Testcase: --- void doFormat(void delegate() myputc, void * argptr){ assert(!(*cast(string*)argptr is null)); } void sformat(string s, ...){ void putc() { assert(s[0]==s[0]); } doFormat(&putc, _argptr); } void main(){ sformat("xxx", "hi"); } I guess this is because we cut corners building va_list[1] struct in d-builtins.c -- Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. |
Copyright © 1999-2021 by the D Language Foundation