* lib/regex_internal.c (re_node_set_merge):
Add a debug assertion to pacify GCC 11.2.1's -fanalyzer.
+2021-08-01 Jim Meyering <meyering@fb.com>
+
+ regex: pacify GCC 11.2.1's -fanalyzer
+ * lib/regex_internal.c (re_node_set_merge):
+ Add a debug assertion to pacify GCC 11.2.1's -fanalyzer.
+
2021-08-01 Bruno Haible <bruno@clisp.org>
limits-h tests: Add tests for BOOL_MAX and BOOL_WIDTH.
if (__glibc_unlikely (dest->nelem == 0))
{
+ /* Although we already guaranteed above that dest->alloc != 0 and
+ therefore dest->elems != NULL, add a debug assertion to pacify
+ GCC 11.2.1's -fanalyzer. */
+ DEBUG_ASSERT (dest->elems);
dest->nelem = src->nelem;
memcpy (dest->elems, src->elems, src->nelem * sizeof (Idx));
return REG_NOERROR;