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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 28 22:11:03 2019
New Revision: 272801

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

        PR c++/90950
        * semantics.c (finish_omp_clauses): Don't reject references to
        incomplete types if processing_template_decl.

        * g++.dg/gomp/lastprivate-1.C: New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/g++.dg/gomp/lastprivate-1.C
Modified:
    branches/gcc-9-branch/gcc/cp/ChangeLog
    branches/gcc-9-branch/gcc/cp/semantics.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog

Reply via email to