Debian Codegraph @

gcc/testsuite/gcc.target/i386/auto-init-4.c

raw
1 /* Verify pattern initialization for floating point type automatic variables. */
2 /* { dg-do compile } */
3 /* { dg-options "-ftrivial-auto-var-init=pattern -march=x86-64 -mtune=generic -msse" } */
4
5 long double result;
6
7 long double foo()
8 {
9 float temp1;
10 double temp2;
11 long double temp3;
12
13 result = temp1 + temp2 + temp3;
14 return result;
15 }
16
17
18 /* { dg-final { scan-assembler-times "long\t-16843010" 5  { target { ! ia32 } } } } */
19 /* { dg-final { scan-assembler-times "long\t-16843010" 3  { target { ia32 } } } } */