diff options
author | Martin Liska <mliska@suse.cz> | 2016-11-09 18:55:12 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-11-09 18:55:12 +0100 |
commit | 302356da473b5032be5f5cacb351982cb7d23ab8 (patch) | |
tree | 21724b385074a7717ba82243dbec8a04cd82b424 /gcc | |
parent | f31adad4cbbb1ece12a84b698e5cbfeea756d4ce (diff) | |
download | gcc-302356da473b5032be5f5cacb351982cb7d23ab8.zip gcc-302356da473b5032be5f5cacb351982cb7d23ab8.tar.gz gcc-302356da473b5032be5f5cacb351982cb7d23ab8.tar.bz2 |
* fold-const-call.c (fold_const_call): Fix up type of s0 and s1.
From-SVN: r242011
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/fold-const-call.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d561652..28f64ed 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-11-09 Martin Liska <mliska@suse.cz> + + * fold-const-call.c (fold_const_call): Fix up type of s0 and s1. + 2016-11-09 Jakub Jelinek <jakub@redhat.com> PR target/77718 diff --git a/gcc/fold-const-call.c b/gcc/fold-const-call.c index 38f9717..e2d0eaf 100644 --- a/gcc/fold-const-call.c +++ b/gcc/fold-const-call.c @@ -1506,7 +1506,8 @@ tree fold_const_call (combined_fn fn, tree type, tree arg0, tree arg1, tree arg2) { const char *p0, *p1; - size_t s0, s1, s2 = 0; + unsigned HOST_WIDE_INT s0, s1; + size_t s2 = 0; switch (fn) { case CFN_BUILT_IN_STRNCMP: |