http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49223

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-30 
12:19:02 UTC ---
Author: jakub
Date: Mon May 30 12:18:59 2011
New Revision: 174433

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174433
Log:
    PR c++/49223
    * semantics.c (finish_omp_clauses): Call require_complete_type
    even for copyin/copyprivate clauses.  Only call
    cxx_omp_create_clause_info if inner_type is COMPLETE_TYPE_P.

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

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/gomp/pr49223-1.C
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/gomp/pr49223-2.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/semantics.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog

Reply via email to