PR testsuite/88454
* gcc.dg/tree-ssa/split-path-5.c (__ctype_ptr__): Change type from
const char * to const signed char *.
(bmhi_init): Change pattern parameter's type the same. Use
__builtin_strlen instead of undeclared strlen.
From-SVN: r267092
+2018-12-13 Jakub Jelinek <jakub@redhat.com>
+
+ PR testsuite/88454
+ * gcc.dg/tree-ssa/split-path-5.c (__ctype_ptr__): Change type from
+ const char * to const signed char *.
+ (bmhi_init): Change pattern parameter's type the same. Use
+ __builtin_strlen instead of undeclared strlen.
+
2018-12-13 Andreas Krebbel <krebbel@linux.ibm.com>
* gcc.target/s390/zvector/vec-double-1.c: New test.
/* { dg-do compile } */
/* { dg-options "-O2 -fsplit-paths -fdump-tree-split-paths-details -w" } */
-const extern char *__ctype_ptr__;
+const extern signed char *__ctype_ptr__;
typedef unsigned char uchar;
static int patlen;
static int skip[(0x7f * 2 + 1) + 1];
static uchar *pat = ((void *) 0);
void
-bmhi_init (const char *pattern)
+bmhi_init (const signed char *pattern)
{
int i, lastpatchar;
- patlen = strlen (pattern);
+ patlen = __builtin_strlen (pattern);
for (i = 0; i < patlen; i++)
pat[i] = (
{