summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20020319-1.c
blob: 46a756d775ab9362bf4bac24c94a50a3fda103d7 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR optimization/5999
   This testcase ICEd because one a/b -> a * (1/b) optimization
   did not handle complex divides.  */
/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math" } */

__complex__ double foo (__complex__ double x, __complex__ double y)
{
  return x / y;
}