﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc
27	Thunks are not generated for polymorphic-to-monomorphic function casts.	pabuhr	Rob Schluntz <rschlunt@…>	"Thunks are not generated for polymorphic-to-monomorphic function casts, e.g.
{{{
forall(otype T) T f(T);

void g() {
    (int (*)(int))f;    // casts, doesn't convert
    int (*h)(int) = f;  // casts incorrectly, doesn't convert either
}
}}}
Aaron: I suspect this needs to be fixed with a change to the GenPoly::box pass
There is a bug there, but it exposes deeper issues in the resolution pass;
essentially, cfa-cc seems to have no concept of a compiler-generated implicit 
conversion (it punts to GCC whenever one is needed that exists in C), and it doesn't 
keep the right information in the correct places for an easy fix for this bug. I'd 
suggest resolving this one WONTFIX.
"	defect	closed	major	cfa-cc	1.0	fixed		
