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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jul  7 12:46:33 2016
New Revision: 238099

URL: https://gcc.gnu.org/viewcvs?rev=238099&root=gcc&view=rev
Log:
        Backported from mainline
        2016-06-20  Jakub Jelinek  <ja...@redhat.com>

        PR middle-end/71581
        * tree-ssa-uninit.c (warn_uninit): If EXPR and VAR are NULL,
        see if T isn't anonymous SSA_NAME with COMPLEX_EXPR created
        for conversion of scalar user var to complex type and use the
        underlying SSA_NAME_VAR in that case.  If EXPR is still NULL,
        punt.

        * gcc.dg/pr71581.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr71581.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-ssa-uninit.c

Reply via email to