D.gnu - [Issue 1443] New: ICE on template inference three-liner
- d-bugmail puremagic.com (29/29) Aug 27 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1443
- d-bugmail puremagic.com (9/9) Aug 29 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1443
http://d.puremagic.com/issues/show_bug.cgi?id=1443 Summary: ICE on template inference three-liner Product: DGCC aka GDC Version: 0.24 Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: glue layer AssignedTo: dvdfrdmn users.sf.net ReportedBy: default_357-line yahoo.de The code: struct _store(T...) { T t; static void opCat_r(C)(C x) { } } _store!(T) store(T...)(T v) { return _store!(T)(v); } void main() { (int e) { } ~ store(5); } The crash: xt4100 ~/d/freelink/src $ gdc testcase.d -o testcase cc1d: ../../gcc-4.1.2/gcc/d/d-codegen.cc:846: tree_node* IRState::call(TypeFunction*, tree_node*, tree_node*, Array*): Assertion `function_type_p( func_type_node )' failed. testcase.d: In function 'main': testcase.d:3: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Works on DMD. Any responses/fixes are appreciated. --downs (why is it always me? ;_;) --
Aug 27 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1443 dvdfrdmn users.sf.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed in svn rev 148 / release 0.25 --
Aug 29 2007