aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/smmintrin.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/smmintrin.h')
-rw-r--r--gcc/config/rs6000/smmintrin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/rs6000/smmintrin.h b/gcc/config/rs6000/smmintrin.h
index 4f90c2e..cca2f7d 100644
--- a/gcc/config/rs6000/smmintrin.h
+++ b/gcc/config/rs6000/smmintrin.h
@@ -687,7 +687,8 @@ _mm_minpos_epu16 (__m128i __A)
union __u __u = { .__m = __A }, __r = { .__m = {0} };
unsigned short __ridx = 0;
unsigned short __rmin = __u.__uh[__ridx];
- for (unsigned long __i = 1; __i < 8; __i++)
+ unsigned long __i;
+ for (__i = 1; __i < 8; __i++)
{
if (__u.__uh[__i] < __rmin)
{