* fold-const-call.c (fold_const_call): Fix up type of s0 and s1.

From-SVN: r242011
This commit is contained in:
Martin Liska 2016-11-09 18:55:12 +01:00 committed by Jakub Jelinek
parent f31adad4cb
commit 302356da47
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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: