poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU poke 2.0.91 pre-released in alpha.gnu.org


From: Bruno Haible
Subject: Re: GNU poke 2.0.91 pre-released in alpha.gnu.org
Date: Fri, 04 Feb 2022 22:27:15 +0100

On Linux/loongarch64:

                === poke Summary ===

# of expected passes            6332
# of unsupported tests          3


These compilation warnings (from a GCC 12 prerelease) seem to be relevant:
../../poke/pk-cmd-def.c:56:10: warning: argument 4 of variable length array 
'regmatch_t[restrict  __nmatch]' is null but the corresponding bound argument 3 
value is 1 [-Wnonnull]
../../poke/pk-cmd-def.c:119:10: warning: argument 4 of variable length array 
'regmatch_t[restrict  __nmatch]' is null but the corresponding bound argument 3 
value is 1 [-Wnonnull]

regexec takes nmatch, pmatch arguments. If nmatch is 1, pmatch must be an
array of length 1, not NULL.

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]