------- Additional Comments From rguenth at gcc dot gnu dot org 2005-07-12 08:02 ------- I have a fix for the target dependent parts. Only tree-tailcall stomps on our feet yet. I.e.
double __attribute__((sseregparm)) mysin(double); double __attribute__((sseregparm)) (*mysinfp)(double) = mysin; double bar(double x) { return 1.0+mysinfp(x); } is fixed at -O0 and -O2, the original testcase passes at -O0 but fails at -O2. http://gcc.gnu.org/ml/gcc-patches/2005-07/msg00817.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22347