http://d.puremagic.com/issues/show_bug.cgi?id=5844
Summary: DMD crash on infinite-recursive variadic template pure auto function Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status: NEW Keywords: ice-on-invalid-code Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: kenn...@gmail.com --- Comment #0 from kenn...@gmail.com 2011-04-14 01:18:50 PDT --- The following program caused a 'Bus Error' in DMD when compiling: ---------------------- pure auto j(T...)(int) { j!T(0); } void main() { j!int(1); } ---------------------- The 'Bus Error' doesn't happen when either 'pure' is removed, or 'auto' is changed to 'void'. The 'Bus Error' does not happen at least on 2.048. It simply writes x.d(2): Error: forward reference to inferred return type of function call j(0) x.d(6): Error: template instance x.j!(int) error instantiating -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------