OSDN Git Service

2009-05-19 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / pr37742.c
1 void foo(int* __restrict__ p, int* q, int* p1, int *q1)
2 {
3   int i;
4
5   p = p1;
6   q = q1;
7
8   for (i = 0; i < 4; ++i)
9     *++q = *++p + 1;
10 }
11
12 void bar(int* p, int* __restrict__ q, int* p1, int *q1)
13 {
14   int i;
15
16   p = p1;
17   q = q1;
18
19   for (i = 0; i < 4; ++i)
20     *++q = *++p + 1;
21 }