summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr34825.c
blob: 40061bad6b53f18711a83b674a6c813ff7a6d183 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-O -funsafe-math-optimizations" } */

double foo(double x, double y)
{
  return x == y ? x/y*x/y : 0;
}