https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97840

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Hubicka <hubi...@gcc.gnu.org>:

https://gcc.gnu.org/g:0c9687d0daa08c33456210b87e4060d6397ff4d8

commit r11-5060-g0c9687d0daa08c33456210b87e4060d6397ff4d8
Author: Jan Hubicka <j...@suse.cz>
Date:   Mon Nov 16 16:31:30 2020 +0100

    Disable some bogus -Wmaybe-uninitialized warnings

    gcc/ChangeLog:
            PR middle-end/97840
            * ipa-modref.c (analyze_ssa_name_flags): Skip clobbers if inlining
            is done.
            * tree-ssa-uninit.c (maybe_warn_pass_by_reference): Make stmt
gcall;
            skip const calls and unused arguments.
            (warn_uninitialized_vars): Update prototype.

    gcc/testsuite/ChangeLog:
            * g++.dg/warn/uninit-1.C: New test.

Reply via email to