mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 12:21:15 +08:00
re PR testsuite/88454 (test case gcc.dg/tree-ssa/split-path-5.c fails after r266971)
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
This commit is contained in:
parent
a7a6c14a55
commit
b9cbcd3ef0
@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
@ -1,16 +1,16 @@
|
||||
/* { 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] = (
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user