gcc/testsuite/gcc.dg/complex-7.c
raw| 1 | /* PR tree-optimization/70291. */ |
| 2 | |
| 3 | /* { dg-do compile } */ |
| 4 | /* { dg-options "-O2 -fdump-tree-cplxlower" } */ |
| 5 | /* { dg-require-effective-target double64 } */ |
| 6 | |
| 7 | __complex double |
| 8 | foo (__complex double a, __complex double b) |
| 9 | { |
| 10 | return a * b; |
| 11 | } |
| 12 | |
| 13 | /* { dg-final { scan-tree-dump-times "unord" 1 "cplxlower1" } } */ |
| 14 | /* { dg-final { scan-tree-dump-times "__(?:gnu_)?muldc3" 1 "cplxlower1" } } */ |