On Wed, Nov 06, 2019 at 04:51:50PM +0000, p...@hermes.cam.ac.uk wrote: > There is now a new RC here: > > https://ftp.pcre.org/pub/pcre/Testing/pcre2-10.34-RC2.tar.gz > https://ftp.pcre.org/pub/pcre/Testing/pcre2-10.34-RC2.tar.bz2 > https://ftp.pcre.org/pub/pcre/Testing/pcre2-10.34-RC2.tar.zip > I tested it in Fedora 32 GNU/Linux distributions on these architectures:
aarch64 armv7hl i686 ppc64le s390x x86_64 All tests pass, but GCC 9.2.1 on aarch64 produces these warings: /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src "-I./src" -DPCRE2_CODE_UNIT_WIDTH=8 -fvisibility=hidden -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/libpcre2_8_la-pcre2_jit_compile.lo `test -f 'src/pcre2_jit_compile.c' || echo './'`src/pcre2_jit_compile.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I./src -DPCRE2_CODE_UNIT_WIDTH=8 -fvisibility=hidden -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c src/pcre2_jit_compile.c -fPIC -DPIC -o src/.libs/libpcre2_8_la-pcre2_jit_compile.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I./src -DPCRE2_CODE_UNIT_WIDTH=8 -fvisibility=hidden -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c src/pcre2_jit_compile.c -o src/libpcre2_8_la-pcre2_jit_compile.o >/dev/null 2>&1 In file included from src/pcre2_jit_simd_inc.h:699, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs': src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:706, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs_2': src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:713, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs_mask': src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:850, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_0': src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ src/pcre2_jit_neon_inc.h:117:13: warning: unused variable 'char2b' [-Wunused-variable] 117 | PCRE2_UCHAR char2b = ic.c.c4; | ^~~~~~ src/pcre2_jit_neon_inc.h:115:13: warning: unused variable 'char1b' [-Wunused-variable] 115 | PCRE2_UCHAR char1b = ic.c.c2; | ^~~~~~ In file included from src/pcre2_jit_simd_inc.h:852, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_0_utf': src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ src/pcre2_jit_neon_inc.h:117:13: warning: unused variable 'char2b' [-Wunused-variable] 117 | PCRE2_UCHAR char2b = ic.c.c4; | ^~~~~~ src/pcre2_jit_neon_inc.h:115:13: warning: unused variable 'char1b' [-Wunused-variable] 115 | PCRE2_UCHAR char1b = ic.c.c2; | ^~~~~~ In file included from src/pcre2_jit_simd_inc.h:859, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_1': src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:861, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_1_utf': src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ In file included from src/pcre2_jit_simd_inc.h:868, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_default': src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:870, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_default_utf': src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ [...] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src "-I./src" -DPCRE2_CODE_UNIT_WIDTH=16 -fvisibility=hidden -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/libpcre2_16_la-pcre2_jit_compile.lo `test -f 'src/pcre2_jit_compile.c' || echo './'`src/pcre2_jit_compile.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I./src -DPCRE2_CODE_UNIT_WIDTH=16 -fvisibility=hidden -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c src/pcre2_jit_compile.c -fPIC -DPIC -o src/.libs/libpcre2_16_la-pcre2_jit_compile.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I./src -DPCRE2_CODE_UNIT_WIDTH=16 -fvisibility=hidden -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c src/pcre2_jit_compile.c -o src/libpcre2_16_la-pcre2_jit_compile.o >/dev/null 2>&1 In file included from src/pcre2_jit_simd_inc.h:699, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:699, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:699, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:701, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs_utf': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:701, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:706, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs_2': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:706, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:706, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:708, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs_2_utf': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:708, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:713, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs_mask': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:713, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | make[1]: Leaving directory '/builddir/build/BUILD/pcre2-10.34-RC2' | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:713, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:715, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs_mask_utf': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:715, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:850, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_0': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:850, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:189:30: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 189 | vect_t data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:850, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:850, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ src/pcre2_jit_neon_inc.h:117:13: warning: unused variable 'char2b' [-Wunused-variable] 117 | PCRE2_UCHAR char2b = ic.c.c4; | ^~~~~~ src/pcre2_jit_neon_inc.h:115:13: warning: unused variable 'char1b' [-Wunused-variable] 115 | PCRE2_UCHAR char1b = ic.c.c2; | ^~~~~~ In file included from src/pcre2_jit_simd_inc.h:852, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_0_utf': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:852, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:189:30: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 189 | vect_t data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:852, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:852, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ src/pcre2_jit_neon_inc.h:117:13: warning: unused variable 'char2b' [-Wunused-variable] 117 | PCRE2_UCHAR char2b = ic.c.c4; | ^~~~~~ src/pcre2_jit_neon_inc.h:115:13: warning: unused variable 'char1b' [-Wunused-variable] 115 | PCRE2_UCHAR char1b = ic.c.c2; | ^~~~~~ In file included from src/pcre2_jit_simd_inc.h:859, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_1': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:859, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:189:30: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 189 | vect_t data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:859, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:859, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:861, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_1_utf': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:861, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:189:30: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 189 | vect_t data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:861, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:861, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ In file included from src/pcre2_jit_simd_inc.h:868, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_default': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:868, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:189:30: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 189 | vect_t data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:868, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:868, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:245:25: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 245 | data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:868, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:870, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_default_utf': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:870, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:189:30: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 189 | vect_t data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:870, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:870, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:245:25: warning: passing argument 1 of 'vld1q_u16' from incompatible pointer type [-Wincompatible-pointer-types] 245 | data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17949:28: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17949 | vld1q_u16 (const uint16_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:870, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ [...] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src "-I./src" -DPCRE2_CODE_UNIT_WIDTH=32 -fvisibility=hidden -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/libpcre2_32_la-pcre2_jit_compile.lo `test -f 'src/pcre2_jit_compile.c' || echo './'`src/pcre2_jit_compile.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I./src -DPCRE2_CODE_UNIT_WIDTH=32 -fvisibility=hidden -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c src/pcre2_jit_compile.c -fPIC -DPIC -o src/.libs/libpcre2_32_la-pcre2_jit_compile.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I./src -DPCRE2_CODE_UNIT_WIDTH=32 -fvisibility=hidden -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c src/pcre2_jit_compile.c -o src/libpcre2_32_la-pcre2_jit_compile.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/pcre2-10.34-RC2' In file included from src/pcre2_jit_simd_inc.h:699, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:699, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:699, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:701, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs_utf': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:701, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:701, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:278:7: warning: implicit declaration of function 'utf_continue' [-Wimplicit-function-declaration] 278 | if (utf_continue(str_ptr + IN_UCHARS(-offs1))) | ^~~~~~~~~~~~ In file included from src/pcre2_jit_simd_inc.h:706, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs_2': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:706, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:706, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:708, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs_2_utf': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:708, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:713, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs_mask': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:713, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:713, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:715, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcs_mask_utf': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:715, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:850, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_0': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:850, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:189:30: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 189 | vect_t data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:850, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:850, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ src/pcre2_jit_neon_inc.h:117:13: warning: unused variable 'char2b' [-Wunused-variable] 117 | PCRE2_UCHAR char2b = ic.c.c4; | ^~~~~~ src/pcre2_jit_neon_inc.h:115:13: warning: unused variable 'char1b' [-Wunused-variable] 115 | PCRE2_UCHAR char1b = ic.c.c2; | ^~~~~~ In file included from src/pcre2_jit_simd_inc.h:852, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_0_utf': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:852, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:189:30: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 189 | vect_t data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:852, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:852, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ src/pcre2_jit_neon_inc.h:117:13: warning: unused variable 'char2b' [-Wunused-variable] 117 | PCRE2_UCHAR char2b = ic.c.c4; | ^~~~~~ src/pcre2_jit_neon_inc.h:115:13: warning: unused variable 'char1b' [-Wunused-variable] 115 | PCRE2_UCHAR char1b = ic.c.c2; | ^~~~~~ In file included from src/pcre2_jit_simd_inc.h:859, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_1': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:859, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:189:30: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 189 | vect_t data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:859, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:859, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:861, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_1_utf': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:861, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:189:30: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 189 | vect_t data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:861, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:861, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ In file included from src/pcre2_jit_simd_inc.h:868, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_default': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:868, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:189:30: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 189 | vect_t data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:868, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:868, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:245:25: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 245 | data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:868, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ src/pcre2_jit_neon_inc.h:165:1: warning: label 'restart' defined but not used [-Wunused-label] 165 | restart:; | ^~~~~~~ In file included from src/pcre2_jit_simd_inc.h:870, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h: In function 'ffcps_default_utf': src/pcre2_jit_neon_inc.h:171:21: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 171 | vect_t data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:870, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:189:30: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 189 | vect_t data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:870, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:225:28: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 225 | vect_t orig_data = VLD1Q(str_ptr); | ^~~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:870, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:245:25: warning: passing argument 1 of 'vld1q_u32' from incompatible pointer type [-Wincompatible-pointer-types] 245 | data2 = VLD1Q(str_ptr - diff); | ~~~~~~~~^~~~~~ | | | sljit_u8 * {aka unsigned char *} In file included from src/pcre2_jit_simd_inc.h:637, from src/pcre2_jit_compile.c:5522: /usr/lib/gcc/aarch64-redhat-linux/9/include/arm_neon.h:17957:28: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'sljit_u8 *' {aka 'unsigned char *'} 17957 | vld1q_u32 (const uint32_t *a) | ~~~~~~~~~~~~~~~~^ In file included from src/pcre2_jit_simd_inc.h:870, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:167:11: warning: unused variable 'p1' [-Wunused-variable] 167 | sljit_u8 *p1 = str_ptr - diff; | ^~ At top level: src/pcre2_jit_neon_inc.h:79:19: warning: 'ffcps_default_utf' defined but not used [-Wunused-function] 79 | # define FF_FUN ffcps_default_utf | ^~~~~~~~~~~~~~~~~ src/pcre2_jit_neon_inc.h:85:29: note: in expansion of macro 'FF_FUN' 85 | static sljit_u8* SLJIT_FUNC FF_FUN(sljit_u8 *str_end, sljit_u8 *str_ptr, sljit_uw offs1, sljit_uw offs2, sljit_uw chars) | ^~~~~~ In file included from src/pcre2_jit_simd_inc.h:861, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:72:19: warning: 'ffcps_1_utf' defined but not used [-Wunused-function] 72 | # define FF_FUN ffcps_1_utf | ^~~~~~~~~~~ src/pcre2_jit_neon_inc.h:85:29: note: in expansion of macro 'FF_FUN' 85 | static sljit_u8* SLJIT_FUNC FF_FUN(sljit_u8 *str_end, sljit_u8 *str_ptr, sljit_uw offs1, sljit_uw offs2, sljit_uw chars) | ^~~~~~ In file included from src/pcre2_jit_simd_inc.h:852, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:65:19: warning: 'ffcps_0_utf' defined but not used [-Wunused-function] 65 | # define FF_FUN ffcps_0_utf | ^~~~~~~~~~~ src/pcre2_jit_neon_inc.h:85:29: note: in expansion of macro 'FF_FUN' 85 | static sljit_u8* SLJIT_FUNC FF_FUN(sljit_u8 *str_end, sljit_u8 *str_ptr, sljit_uw offs1, sljit_uw offs2, sljit_uw chars) | ^~~~~~ In file included from src/pcre2_jit_simd_inc.h:715, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:58:19: warning: 'ffcs_mask_utf' defined but not used [-Wunused-function] 58 | # define FF_FUN ffcs_mask_utf | ^~~~~~~~~~~~~ src/pcre2_jit_neon_inc.h:85:29: note: in expansion of macro 'FF_FUN' 85 | static sljit_u8* SLJIT_FUNC FF_FUN(sljit_u8 *str_end, sljit_u8 *str_ptr, sljit_uw offs1, sljit_uw offs2, sljit_uw chars) | ^~~~~~ In file included from src/pcre2_jit_simd_inc.h:708, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:51:19: warning: 'ffcs_2_utf' defined but not used [-Wunused-function] 51 | # define FF_FUN ffcs_2_utf | ^~~~~~~~~~ src/pcre2_jit_neon_inc.h:85:29: note: in expansion of macro 'FF_FUN' 85 | static sljit_u8* SLJIT_FUNC FF_FUN(sljit_u8 *str_end, sljit_u8 *str_ptr, sljit_uw offs1, sljit_uw offs2, sljit_uw chars) | ^~~~~~ In file included from src/pcre2_jit_simd_inc.h:701, from src/pcre2_jit_compile.c:5522: src/pcre2_jit_neon_inc.h:44:19: warning: 'ffcs_utf' defined but not used [-Wunused-function] 44 | # define FF_FUN ffcs_utf | ^~~~~~~~ src/pcre2_jit_neon_inc.h:85:29: note: in expansion of macro 'FF_FUN' 85 | static sljit_u8* SLJIT_FUNC FF_FUN(sljit_u8 *str_end, sljit_u8 *str_ptr, sljit_uw offs1, sljit_uw offs2, sljit_uw chars) | ^~~~~~ Full build log is at <https://kojipkgs.fedoraproject.org//work/tasks/74/38820074/build.log>. I cannot tell wheter ther warnings come from a dynamic (-fPIC -DPIC) or a static compilation. I also tested it on RHEL 7.8 distribution on these architectures: aarch64 i686 ppc ppc64 ppc64le s390 s390x x86_64 I can see GCC 4.8.5 prints these warnings on 32-bit PowerPC: gcc -DHAVE_CONFIG_H -I. -I./src "-I./src" -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 -o src/pcre2test-pcre2test.o `test -f 'src/pcre2test.c' || echo './'`src/pcre2test.c [...] src/pcre2test.c: In function 'process_pattern': src/pcre2test.c:5212:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] "opening quote is at offset %" PTR_FORM ".\n", pq - buffer - 2); ^ src/pcre2test.c:5227:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] PTR_FORM " in hex pattern: quote missing?\n", c, pp - buffer - 2); ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I./src -DPCRE2_CODE_UNIT_WIDTH=32 -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 src/pcre2_serialize.c -o src/libpcre2_32_la-pcre2_serialize.o >/dev/null 2>&1 src/pcre2test.c:5239:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] PTR_FORM " in hex pattern: quote missing?\n", d, pp - buffer - 1); ^ A simimal warning appears on a 32-bit s390 platform: src/pcre2test.c: In function 'process_pattern': src/pcre2test.c:5212:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] "opening quote is at offset %" PTR_FORM ".\n", pq - buffer - 2); ^ src/pcre2test.c:5227:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] PTR_FORM " in hex pattern: quote missing?\n", c, pp - buffer - 2); ^ src/pcre2test.c:5239:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] PTR_FORM " in hex pattern: quote missing?\n", d, pp - buffer - 1); ^ and on 32-bit i686 platform: src/pcre2test.c: In function 'process_pattern': src/pcre2test.c:5212:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] "opening quote is at offset %" PTR_FORM ".\n", pq - buffer - 2); ^ src/pcre2test.c:5227:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] PTR_FORM " in hex pattern: quote missing?\n", c, pp - buffer - 2); ^ src/pcre2test.c:5239:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] PTR_FORM " in hex pattern: quote missing?\n", d, pp - buffer - 1); ^ Please note that these 32-bit warnings do not appear on Fedora 32 with GCC 9. Also note that this is not a regression. They can be seen with PCRE2 10.33 either. -- Petr
signature.asc
Description: PGP signature
-- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev