Add dummy variable to avoid optimizer bug on OS/2 -- patch by Jeff Rush.

(AMK: you should probably copy this into your patch set for pcre.)
This commit is contained in:
Guido van Rossum 1998-12-21 18:35:49 +00:00
parent 885553e8d3
commit 95864d35c6

View file

@ -256,6 +256,7 @@ static BOOL
set_start_bits(const uschar *code, uschar *start_bits)
{
register int c;
volatile int dummy;
do
{
@ -281,6 +282,7 @@ do
case OP_BRAZERO:
case OP_BRAMINZERO:
if (!set_start_bits(++tcode, start_bits)) return FALSE;
dummy = 1;
do tcode += (tcode[1] << 8) + tcode[2]; while (*tcode == OP_ALT);
tcode += 3;
try_next = TRUE;