OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix PR40886.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
sms-6.c
diff --git
a/gcc/testsuite/gcc.dg/sms-6.c
b/gcc/testsuite/gcc.dg/sms-6.c
index
cd63565
..
34e9cf8
100644
(file)
--- a/
gcc/testsuite/gcc.dg/sms-6.c
+++ b/
gcc/testsuite/gcc.dg/sms-6.c
@@
-20,7
+20,12
@@
void foo (int * __restrict__ a, int * __restrict__ b, int * __restrict__ c)
int a[100], b[100], c[100];
int main()
{
+#if (__SIZEOF_INT__ <= 2)
+ int i;
+ long res;
+#else
int i, res;
+#endif
for(i = 0; i < 100; i++)
{
b[i] = c[i] = i;