/* Verify pattern initialization for complex type automatic variables. */ | |
/* { dg-do compile } */ | |
/* { dg-options "-ftrivial-auto-var-init=pattern -fdump-rtl-expand" } */ | |
_Complex long double result; | |
_Complex long double foo() | |
{ | |
_Complex float temp1; | |
_Complex double temp2; | |
_Complex long double temp3; | |
result = temp1 + temp2 + temp3; | |
return result; | |
} | |
/* { dg-final { scan-rtl-dump-times "0xfffffffffffffffe\\\]\\\) repeated x16" 3 "expand" } } */ |