mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-04 17:40:25 +08:00
20050830-1.c: New.
2005-08-31 Dale Johannesen <dalej@apple.com> * gcc.dg/20050830-1.c: New. From-SVN: r103691
This commit is contained in:
parent
d16093fdff
commit
c0dbaebd31
@ -1,3 +1,7 @@
|
||||
2005-08-31 Dale Johannesen <dalej@apple.com>
|
||||
|
||||
* gcc.dg/20050830-1.c: New.
|
||||
|
||||
2005-08-31 Josh Conner <jconner@apple.com>
|
||||
|
||||
* g++.dg/ext/packed8.C: Add -mstructure-size-boundary=8 to
|
||||
|
13
gcc/testsuite/gcc.dg/20050830-1.c
Normal file
13
gcc/testsuite/gcc.dg/20050830-1.c
Normal file
@ -0,0 +1,13 @@
|
||||
/* Make sure the doloop optimization is done for this loop. */
|
||||
/* { dg-do compile { target powerpc-*-* } } */
|
||||
/* { dg-options "-O2" } */
|
||||
/* { dg-final { scan-assembler "bdn" } } */
|
||||
extern int a[];
|
||||
int foo(int w) {
|
||||
int n = w;
|
||||
while (n >= 512)
|
||||
{
|
||||
a[n] = 42;
|
||||
n -= 256;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user