Handle T_HRESULT types in CodeView records
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr85755.c
blob2d8741d639edc352ed58eff09fae58f32e52f4a1
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-options "-O1" } */
4 void
5 preinc (long *q, long n)
7 long i;
8 for (i = 0; i < n; i++)
9 q[i] = i;
12 void
13 predec (long *q, long n)
15 long i;
16 for (i = n; i >= 0; i--)
17 q[i] = i;
20 /* { dg-final { scan-assembler-times {\mstwu\M} 2 { target ilp32 } } } */
21 /* { dg-final { scan-assembler-times {\mstdu\M} 2 { target lp64 } } } */
22 /* { dg-final { scan-assembler-not {\mstfdu\M} } } */