diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/doloop-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/doloop-1.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/testsuite/gcc.dg/doloop-1.c b/gcc/testsuite/gcc.dg/doloop-1.c deleted file mode 100644 index 0362399..0000000 --- a/gcc/testsuite/gcc.dg/doloop-1.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Make sure both loops are recognized as doloops. - If so, "bdnz" will be generated on ppc; if not, - you will get "ble" or "blt" or "bge". */ - -/* { dg-do compile { target powerpc-*-* } } */ -/* { dg-options "-O2" } */ -void foo (int count, char* pca, char* pcb) { - int i; - if (count > 10) - for (i = 0; i < count; ++i) - pcb += i; - else - for (i = 0; i < count; ++i) - pca += i; - *pca = *pcb; -} -/* { dg-final { scan-assembler "bdnz" } } */ |