diff options
author | Frank Ch. Eigler <fche@gcc.gnu.org> | 2004-10-03 21:17:29 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@gcc.gnu.org> | 2004-10-03 21:17:29 +0000 |
commit | bf50d091ca5e3fc7a81fa19daa0c9fe02da5fff8 (patch) | |
tree | 290760cbad801c6cac12846ce38486866a926da9 /libmudflap/testsuite | |
parent | 3f75a25471fd0a824043ee42e33b2197eeb903f0 (diff) | |
download | gcc-bf50d091ca5e3fc7a81fa19daa0c9fe02da5fff8.zip gcc-bf50d091ca5e3fc7a81fa19daa0c9fe02da5fff8.tar.gz gcc-bf50d091ca5e3fc7a81fa19daa0c9fe02da5fff8.tar.bz2 |
* fixing typos in accidental checkin
From-SVN: r88463
Diffstat (limited to 'libmudflap/testsuite')
-rw-r--r-- | libmudflap/testsuite/libmudflap.c/fail33-frag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmudflap/testsuite/libmudflap.c/fail33-frag.c b/libmudflap/testsuite/libmudflap.c/fail33-frag.c index 5f33be7..ac7c617 100644 --- a/libmudflap/testsuite/libmudflap.c/fail33-frag.c +++ b/libmudflap/testsuite/libmudflap.c/fail33-frag.c @@ -7,14 +7,14 @@ char a[SIZE]; int main () { - int i, j=0; + int i, j=0, k; int a_before_b = (& a[0] < & b[0]); /* Rather than iterating linearly, which would allow loop unrolling and mapping to pointer manipulation, we traverse the "joined" arrays in some random order. */ for (i=0; i<SIZE*2; i++) { - k=rand()%(SIZE*2)) + k = rand() % (SIZE*2); j += (a_before_b ? a[k] : b[k]); } return j; |