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

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

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

        PR c++/71516
        * decl.c (complete_vars): Handle gracefully type == error_mark_node.

        * g++.dg/init/pr71516.C: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/init/pr71516.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/decl.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply via email to