]> git.ipfire.org Git - thirdparty/gcc.git/commit
analyzer: add more uninit test coverage
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 27 Jul 2022 21:38:54 +0000 (17:38 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Wed, 27 Jul 2022 21:54:26 +0000 (17:54 -0400)
commit4eac9fa087f4efd0748c9ff51bec1155a9b6b41e
treebd09db57e2511fad74928c9e2e944b2eb78fe91f
parent6fd39b060420125c17c60e837836d30993b7ed84
analyzer: add more uninit test coverage

(cherry picked from r13-1116-g44681d45473883)

gcc/testsuite/ChangeLog:
* gcc.dg/analyzer/uninit-1.c: Add test coverage of attempts
to jump through an uninitialized function pointer, and of attempts
to pass an uninitialized value to a function call.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/testsuite/gcc.dg/analyzer/uninit-1.c