summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20030707-1.c
blob: cd3e88ebbd81bd9623cdce64620c4f45126165e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Derived from PR target/10979.  */
/* This testcase used to ICE on x86.  */
/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math" } */

void t(double);
double atan2(double,double);

void temp(double *c)
{
  double c2 = 8;
  double s2 = 0;
  *c = atan2(s2,c2);
  t(1/s2);
}