summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr18589-9.c
blob: 08d5798e2cdfb1bf0272b0d5d19539ec9da2eab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O3 -ffast-math -fdump-tree-optimized" } */

double baz (double x, double y, double z)
{
  return (__builtin_pow (x, 3.0) * __builtin_pow (y, 2.0)
	  * __builtin_pow (z, 5.0));
}

/* { dg-final { scan-tree-dump-times " \\* " 6 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */