[Issue 7661] New: [ICE] With return of one fixed size array item
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 7 10:53:13 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7661
Summary: [ICE] With return of one fixed size array item
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2012-03-07 10:53:15 PST ---
Is this a regression?
int[1] foo() {
return [1];
}
int main() {
return foo()[0];
}
DMD 2.059head gives:
Internal error: backend\cgcs.c 354
--
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