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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <mse...@gcc.gnu.org>:

https://gcc.gnu.org/g:9695e1c23be5b5c55d572ced152897313ddb96ae

commit r12-3315-g9695e1c23be5b5c55d572ced152897313ddb96ae
Author: Martin Sebor <mse...@redhat.com>
Date:   Thu Sep 2 09:20:09 2021 -0600

    Improve -Wuninitialized note location.

    Related:
    PR tree-optimization/17506 - warning about uninitialized variable points to
wrong location
    PR testsuite/37182 - Revision 139286 caused gcc.dg/pr17506.c and
gcc.dg/uninit-15.c

    gcc/ChangeLog:

            PR tree-optimization/17506
            PR testsuite/37182
            * tree-ssa-uninit.c (warn_uninit): Remove conditional guarding
note.

    gcc/testsuite/ChangeLog:

            PR tree-optimization/17506
            PR testsuite/37182
            * gcc.dg/diagnostic-tree-expr-ranges-2.c: Add expected output.
            * gcc.dg/uninit-15-O0.c: Remove xfail.
            * gcc.dg/uninit-15.c: Same.

Reply via email to