PR testsuite/52641
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / reassoc-27.c
blobf406beb2fd132501b6c10dcfdd44e43a7c5e9b59
1 /* { dg-do compile } */
2 /* { dg-options "-O -ffast-math -frounding-math -fdump-tree-optimized" } */
4 double baz (double foo, double bar)
6 return foo * foo * foo * foo * bar * bar * bar * bar;
9 /* We should re-associate this as (foo * bar)**3. */
10 /* { dg-final { scan-tree-dump-times " \\\* " 3 "optimized" } } */
11 /* { dg-final { cleanup-tree-dump "optimized" } } */