[Issue 8935] New: ICE(cod3.c, cod4.c): Returning string literal casted to static array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 2 05:07:40 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8935
Summary: ICE(cod3.c, cod4.c): Returning string literal casted
to static array
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Keywords: ice
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: cbkbbejeap at mailinator.com
--- Comment #0 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2012-11-02 05:07:39 PDT ---
char[1] foo()
{
return cast(char[1])"a";
}
$ dmd test.d
Internal error: ..\ztc\cod3.c 528
Changing to zero-length moves the ICE to cod4.c:
char[0] foo()
{
return cast(char[0])"";
}
$ dmd test.d
Internal error: ..\ztc\cod4.c 359
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list