blob: 7c76467f4d73db9efa3ebff55ac4d6bcf3a3af28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* Verify that we don't libcall for complex * real. */
/* { dg-do compile } */
/* { dg-options "-std=c99 -O -fdump-tree-optimized" } */
typedef _Complex float C;
C foo(C x, float y)
{
return x * y;
}
/* { dg-final { scan-tree-dump-times "__mul" 0 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
|