aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/complex-6.c
blob: e70322bf6f378d1d6947de4c10f671bc0a7ded49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR tree-optimization/70291.  */

/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-cplxlower" } */

__complex float
foo (__complex float a, __complex float b)
{
  return a * b;
}

/* { dg-final { scan-tree-dump-times "unord" 1 "cplxlower1" } } */
/* { dg-final { scan-tree-dump-times "__mulsc3" 1 "cplxlower1" } } */