re PR tree-optimization/33291 (a+=2; a+=2 not simplified to a+=4; with -O3 ...
[gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / complex-1.c
1 /* Verify that we don't libcall for complex * real. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c99 -O -fdump-tree-optimized" } */
4
5 typedef _Complex float C;
6
7 C foo(C x, float y)
8 {
9 return x * y;
10 }
11
12 /* { dg-final { scan-tree-dump-times "__mul" 0 "optimized" } } */
13 /* { dg-final { cleanup-tree-dump "optimized" } } */