1 /* Derived from PR target/10979.  */
2 /* This testcase used to ICE on x86.  */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -ffast-math" } */
5 
6 void t(double);
7 double atan2(double,double);
8 
temp(double * c)9 void temp(double *c)
10 {
11   double c2 = 8;
12   double s2 = 0;
13   *c = atan2(s2,c2);
14   t(1/s2);
15 }
16 
17