From: gdr Date: Wed, 13 Apr 2005 01:02:40 +0000 (+0000) Subject: Fix missed replacements. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b677c96c423c47f4b2745523048e4dd093992296;p=thirdparty%2Fgcc.git Fix missed replacements. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98063 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libiberty/regex.c b/libiberty/regex.c index 601bbf14b368..66f1ef8c6db3 100644 --- a/libiberty/regex.c +++ b/libiberty/regex.c @@ -6174,7 +6174,7 @@ byte_re_match_2_internal (struct re_pattern_buffer *bufp, #endif /* WCHAR */ boolean negate = (re_opcode_t) *(p - 1) == charset_not; - DEBUG_PRINT2 ("EXECUTING charset%s.\n", not ? "_not" : ""); + DEBUG_PRINT2 ("EXECUTING charset%s.\n", negate ? "_not" : ""); PREFETCH (); c = TRANSLATE (*d); /* The character to match. */ #ifdef WCHAR @@ -6544,7 +6544,7 @@ byte_re_match_2_internal (struct re_pattern_buffer *bufp, negate = !negate; char_set_matched: - if (not) goto fail; + if (negate) goto fail; #else /* Cast to `unsigned' instead of `unsigned char' in case the bit list is a full 32 bytes long. */