summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/complex-6.c
blob: a7eae1e25138a0a477babe8760686f47514b2bf6 (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" { target { ! rx*-*-* } } } } */
/* { dg-final { scan-tree-dump-times "__mulsc3" 1 "cplxlower1" { target { ! rx*-*-* } } } } */