Handle T_HRESULT types in CodeView records
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / warn-2.c
blobba294cb52e5530fe4980b175529b2db8e7036794
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-require-effective-target powerpc_vsx } */
4 /* { dg-options "-O -mdejagnu-cpu=power7 -mno-altivec" } */
6 /* { dg-warning "'-mno-altivec' disables vsx" "" { target *-*-* } 0 } */
8 double
9 foo (double *x, double *y)
11 double z[2];
12 int i;
14 for (i = 0; i < 2; i++)
15 z[i] = x[i] + y[i];
16 return z[0] * z[1];
19 /* { dg-final { scan-assembler-not "xsadddp" } } */