AVR: target/84211 - Add a post reload register optimization pass.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr54132.c
blob97bc01caf8de79010ed12613afb7be91915b0f8c
1 /* { dg-do run } */
3 extern void abort (void);
4 void foo(char *p, int n)
6 int i;
7 for (i = 1; i < n; i++)
8 p[i] = p[i - 1];
10 int main()
12 char a[1024];
13 a[0] = 1;
14 foo (a, 1024);
15 if (a[1023] != 1)
16 abort ();
17 return 0;