2014-08-29 Richard Biener <rguenther@suse.de>
PR middle-end/62292
* gimple-fold.c (gimple_fold_builtin_strcpy): Fix error
from previous refactoring.
(gimple_fold_builtin_strncpy): Likewise.
From-SVN: r214716
+2014-08-29 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/62292
+ * gimple-fold.c (gimple_fold_builtin_strcpy): Fix error
+ from previous refactoring.
+ (gimple_fold_builtin_strncpy): Likewise.
+
2014-08-29 David Malcolm <dmalcolm@redhat.com>
PR bootstrap/62300
if (!fn)
return false;
- tree len = get_maxval_strlen (src, 1);
+ tree len = get_maxval_strlen (src, 0);
if (!len)
return false;
return false;
/* Now, we must be passed a constant src ptr parameter. */
- tree slen = get_maxval_strlen (src, 1);
+ tree slen = get_maxval_strlen (src, 0);
if (!slen || TREE_CODE (slen) != INTEGER_CST)
return false;