mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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:
parent
885553e8d3
commit
95864d35c6
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue