------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-08 
12:46 -------
And here is a C testcase:
double cos(double);
void abort(void);

double x_from_z(double pitch, double stereo); // __attribute__((const));
double x_from_z(double pitch, double stereo)
{
  return 1.0/cos(stereo);
}

void local_to_trflocal(int b, double x_loc, int a)
{
  if (x_loc != 1.0)
    abort ();
}

int main()
{
  local_to_trflocal(0, x_from_z(0,0),0);
  return 0;
}

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23775

Reply via email to