[Issue 10632] New: [ICE](glue.c line 1227) With inlining and tuples
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jul 13 09:06:44 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10632
Summary: [ICE](glue.c line 1227) With inlining and tuples
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 2013-07-13 09:06:42 PDT ---
import std.typecons: Tuple;
struct Foo {}
alias Bar = Tuple!(Foo);
Bar spam() {
Bar y;
y = spam();
return y;
}
void main() {}
dmd 2.064alpha gives, if I compile with -inline:
Assertion failure: '0' on line 1227 in file 'glue.c'
Maybe it's a regression.
--
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