Teach BasicAA about the aliasing properties of memset_pattern16.
[oota-llvm.git] / lib / Support / regcomp.c
index 16ca8d3f75c26f18ebd38455cb054c4ca0a04131..46c91a9c497cda8cdc7ccf8fb73df0441fb7bd83 100644 (file)
@@ -257,8 +257,8 @@ static void
 p_ere(struct parse *p, int stop)       /* character this ERE should end at */
 {
        char c;
-       sopno prevback;
-       sopno prevfwd;
+       sopno prevback = 0;
+       sopno prevfwd = 0;
        sopno conc;
        int first = 1;          /* is this the first alternative? */
 
@@ -780,7 +780,7 @@ p_b_cclass(struct parse *p, cset *cs)
        const char *u;
        char c;
 
-       while (MORE() && isalpha(PEEK()))
+       while (MORE() && isalpha((uch)PEEK()))
                NEXT();
        len = p->next - sp;
        for (cp = cclasses; cp->name != NULL; cp++)