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