]> git.ipfire.org Git - thirdparty/gcc.git/commit
Refactor warn_uninit() code.
authorMartin Sebor <msebor@redhat.com>
Thu, 26 Aug 2021 19:15:38 +0000 (13:15 -0600)
committerMartin Sebor <msebor@redhat.com>
Thu, 26 Aug 2021 19:15:38 +0000 (13:15 -0600)
commit4e84e381f27113b20c8adac4430813931962c917
tree12ec35e1a700b2d981cb9dd251e5c860818629f3
parentb2ef23239f245871e9b35b902391f2e94a041627
Refactor warn_uninit() code.

gcc/ChangeLog:

* tree-ssa-uninit.c (warn_uninit): Refactor and simplify.
(warn_uninit_phi_uses): Remove argument from calls to warn_uninit.
(warn_uninitialized_vars): Same.  Reduce visibility of locals.
(warn_uninitialized_phi): Same.
gcc/tree-ssa-uninit.c