13 lines
399 B
C
13 lines
399 B
C
/* Verify that gimple-level NRV is occurring even for SSA_NAMEs. *./
|
|
/* { dg-do compile } */
|
|
/* { dg-options "-O -fdump-tree-optimized" } */
|
|
/* { dg-require-effective-target ilp32 } */
|
|
|
|
_Complex double foo (_Complex double x)
|
|
{
|
|
return __builtin_cexp (x);
|
|
}
|
|
|
|
/* { dg-final { scan-tree-dump-times "return slot optimization" 1 "optimized" } } */
|
|
/* { dg-final { cleanup-tree-dump "optimized" } } */
|