* gcc.dg/mt-loopi1.c: New.
From-SVN: r108788
This commit is contained in:
parent
819f8bd767
commit
4d509057e8
@ -1,3 +1,7 @@
|
||||
2005-12-19 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* gcc.dg/mt-loopi1.c: New.
|
||||
|
||||
2005-12-18 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/25481
|
||||
|
13
gcc/testsuite/gcc.dg/mt-loopi1.c
Normal file
13
gcc/testsuite/gcc.dg/mt-loopi1.c
Normal file
@ -0,0 +1,13 @@
|
||||
/* { dg-do compile { target mt-*-* } } */
|
||||
/* { dg-options "-O2 -march=ms2" } */
|
||||
/* { dg-final { scan-assembler "\tloopi " } } */
|
||||
|
||||
/* Make sure we generate loopi */
|
||||
|
||||
void Const (volatile int *ptr)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i != 10; i++)
|
||||
*ptr;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user