Don't relax org or align. They change size as the relaxation happens, but they
[oota-llvm.git] / lib / Support / regcomp.c
index 4fd88b1249872b7904f2b49bb8ea86c74f60b0be..cd018d5dc5bc4d3628dcacbff4d72b1cb0cfc53f 100644 (file)
@@ -142,6 +142,7 @@ static char nuls[10];               /* place to point scanner in event of error */
 #else
 #define        DUPMAX  255
 #endif
+#define        INFINITY        (DUPMAX + 1)
 
 #ifndef NDEBUG
 static int never = 0;          /* for use in asserts; shuts lint up */
@@ -256,8 +257,8 @@ static void
 p_ere(struct parse *p, int stop)       /* character this ERE should end at */
 {
        char c;
-       sopno prevback = prevback;
-       sopno prevfwd = prevfwd;
+       sopno prevback = 0;
+       sopno prevfwd = 0;
        sopno conc;
        int first = 1;          /* is this the first alternative? */
 
@@ -1419,8 +1420,8 @@ static void
 findmust(struct parse *p, struct re_guts *g)
 {
        sop *scan;
-       sop *start;    /* start initialized in the default case, after that */
-       sop *newstart; /* newstart was initialized in the OCHAR case */
+       sop *start = 0; /* start initialized in the default case, after that */
+       sop *newstart = 0; /* newstart was initialized in the OCHAR case */
        sopno newlen;
        sop s;
        char *cp;