2011-05-23 Tom de Vries <tom@codesourcery.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / ivopts-6.c
blob8a3bafbd884ce6b4f196ecd70598608ffc09cb28
1 /* { dg-do assemble } */
2 /* { dg-options "-Os -fdump-tree-ivopts -save-temps -marm" } */
4 void
5 tr5 (short array[], int n)
7 int x;
8 if (n > 0)
9 for (x = 0; x < n; x++)
10 array[x] = 0;
13 /* { dg-final { scan-tree-dump-times "PHI <" 1 "ivopts"} } */
14 /* { dg-final { object-size text <= 32 } } */
15 /* { dg-final { cleanup-tree-dump "ivopts" } } */