analyzer: remove some no-longer-needed -Wno-analyzer-too-complex

A couple of analyzer testcases no longer have state explosions; updating
them accordingly in case they regress.

gcc/testsuite/ChangeLog:
	* gcc.dg/analyzer/pr94047.c: Remove "-Wno-analyzer-too-complex".
	* gcc.dg/analyzer/zlib-2.c: Likewise.
This commit is contained in:
David Malcolm 2021-03-10 08:54:02 -05:00
parent c4a36bb1e1
commit 46b52b4ae1
2 changed files with 0 additions and 6 deletions

View File

@ -1,7 +1,3 @@
/* { dg-additional-options "-Wno-analyzer-too-complex" } */
/* TODO: the above ought not to be necessary, but currently is due to a
state explosion within the for loop. */
typedef struct list
{
struct list *next;

View File

@ -1,5 +1,3 @@
/* { dg-additional-options "-Wno-analyzer-too-complex" } */
typedef void * (*alloc_func)(void * opaque, unsigned items, unsigned size);
typedef void (*free_func)(void * opaque, void * address);