@@ -59,8 +59,8 @@ do { x = (((ulong64)((y)[0] & 255))<<56)|(((ulong64)((y)[1] & 255))<<48) | \
5959#ifdef LTC_HAVE_BSWAP_BUILTIN
6060
6161#define STORE32H (x , y ) \
62- do { ulong32 ttt = __builtin_bswap32 ((x)); \
63- XMEMCPY ((y), &ttt, 4); } while(0)
62+ do { ulong32 LTC_TMPVAR( ttt) = __builtin_bswap32 ((x)); \
63+ XMEMCPY ((y), <C_TMPVAR( ttt) , 4); } while(0)
6464
6565#define LOAD32H (x , y ) \
6666do { XMEMCPY (&(x), (y), 4); \
@@ -98,8 +98,8 @@ __asm__ volatile ( \
9898#ifdef LTC_HAVE_BSWAP_BUILTIN
9999
100100#define STORE64H (x , y ) \
101- do { ulong64 ttt = __builtin_bswap64 ((x)); \
102- XMEMCPY ((y), &ttt, 8); } while(0)
101+ do { ulong64 LTC_TMPVAR( ttt) = __builtin_bswap64 ((x)); \
102+ XMEMCPY ((y), <C_TMPVAR( ttt) , 8); } while(0)
103103
104104#define LOAD64H (x , y ) \
105105do { XMEMCPY (&(x), (y), 8); \
@@ -140,7 +140,7 @@ do { x = (((ulong64)((y)[0] & 255))<<56)|(((ulong64)((y)[1] & 255))<<48) | \
140140#ifdef ENDIAN_32BITWORD
141141
142142#define STORE32L (x , y ) \
143- do { ulong32 ttt = (x); XMEMCPY(y, &ttt, 4); } while(0)
143+ do { ulong32 LTC_TMPVAR( ttt) = (x); XMEMCPY(y, <C_TMPVAR( ttt) , 4); } while(0)
144144
145145#define LOAD32L (x , y ) \
146146 do { XMEMCPY(&(x), y, 4); } while(0)
@@ -160,13 +160,13 @@ do { x = (((ulong64)((y)[0] & 255))<<56)|(((ulong64)((y)[1] & 255))<<48) | \
160160#else /* 64-bit words then */
161161
162162#define STORE32L (x , y ) \
163- do { ulong32 ttt = (x); XMEMCPY(y, &ttt, 4); } while(0)
163+ do { ulong32 LTC_TMPVAR( ttt) = (x); XMEMCPY(y, <C_TMPVAR( ttt) , 4); } while(0)
164164
165165#define LOAD32L (x , y ) \
166166 do { XMEMCPY(&(x), y, 4); x &= 0xFFFFFFFF; } while(0)
167167
168168#define STORE64L (x , y ) \
169- do { ulong64 ttt = (x); XMEMCPY(y, &ttt, 8); } while(0)
169+ do { ulong64 LTC_TMPVAR( ttt) = (x); XMEMCPY(y, <C_TMPVAR( ttt) , 8); } while(0)
170170
171171#define LOAD64L (x , y ) \
172172 do { XMEMCPY(&(x), y, 8); } while(0)
@@ -200,7 +200,7 @@ do { x = (((ulong64)((y)[7] & 255))<<56)|(((ulong64)((y)[6] & 255))<<48) | \
200200#ifdef ENDIAN_32BITWORD
201201
202202#define STORE32H (x , y ) \
203- do { ulong32 ttt = (x); XMEMCPY(y, &ttt, 4); } while(0)
203+ do { ulong32 LTC_TMPVAR( ttt) = (x); XMEMCPY(y, <C_TMPVAR( ttt) , 4); } while(0)
204204
205205#define LOAD32H (x , y ) \
206206 do { XMEMCPY(&(x), y, 4); } while(0)
@@ -220,13 +220,13 @@ do { x = (((ulong64)((y)[7] & 255))<<56)|(((ulong64)((y)[6] & 255))<<48) | \
220220#else /* 64-bit words then */
221221
222222#define STORE32H (x , y ) \
223- do { ulong32 ttt = (x); XMEMCPY(y, &ttt, 4); } while(0)
223+ do { ulong32 LTC_TMPVAR( ttt) = (x); XMEMCPY(y, <C_TMPVAR( ttt) , 4); } while(0)
224224
225225#define LOAD32H (x , y ) \
226226 do { XMEMCPY(&(x), y, 4); x &= 0xFFFFFFFF; } while(0)
227227
228228#define STORE64H (x , y ) \
229- do { ulong64 ttt = (x); XMEMCPY(y, &ttt, 8); } while(0)
229+ do { ulong64 LTC_TMPVAR( ttt) = (x); XMEMCPY(y, <C_TMPVAR( ttt) , 8); } while(0)
230230
231231#define LOAD64H (x , y ) \
232232 do { XMEMCPY(&(x), y, 8); } while(0)
0 commit comments