Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/20030707-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
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 | |
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 |