Re: [pcre-dev] PCRE1 8.41-RC1 test release

Góra strony
Delete this message
Autor: Petr Pisar
Data:  
Dla: pcre-dev@exim.org
Temat: Re: [pcre-dev] PCRE1 8.41-RC1 test release
On Thu, Jun 15, 2017 at 01:38:07PM +0200, Zoltán Herczeg wrote:
> thank you for the report. Should be fixed now.
>

Thanks. I confirm it works for me now.

I performed tests on aarch64, armv7hl, i686, ppc32, ppc64be, ppc64le and
x86_64 with JIT enabled where available and all tests pass.

I only noticed a new warning on all PowerPC architectures:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -mcpu=power7 -mtune=power7 -c pcre_jit_compile.c  -fPIC -DPIC -o .libs/libpcre_la-pcre_jit_compile.o
In file included from sljit/sljitLir.c:1745:0,
                 from pcre_jit_compile.c:62:
sljit/sljitNativePPC_common.c: In function 'sljit_emit_op_flags.constprop.62':
sljit/sljitNativePPC_common.c:2371:61: warning: 'cr_bit' may be used uninitialized in this function [-Wmaybe-uninitialized]
  FAIL_IF(push_inst(compiler, RLWINM | S(reg) | A(reg) | ((1 + (cr_bit)) << 11) | (31 << 6) | (31 << 1)));


It occurs three times for each UTF-x variant. But it appears only with old GCC
4.8.5. It's fine with new GCC 7.1.1. So I guess this is a GCC flaw.

-- Petr