PR middle-end/27945
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-mulconj-1.c
blob0e04653e393f66e88a866d45747a554979ecaea6
1 /* PR tree-optimization/23452 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -ffast-math -fdump-tree-gimple" } */
5 _Complex double foo(_Complex double z)
7 return z * ~z;
10 _Complex int bar(_Complex int z)
12 return z * ~z;
15 /* { dg-final { scan-tree-dump-times "CONJ_EXPR" 0 "gimple" } } */
16 /* { dg-final { cleanup-tree-dump "gimple" } } */