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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 18 16:46:17 2014
New Revision: 215360

URL: https://gcc.gnu.org/viewcvs?rev=215360&root=gcc&view=rev
Log:
    PR c++/63248
    * semantics.c (finish_omp_clauses): Don't call cp_omp_mappable_type
    on type of type dependent expressions, and don't call it if
    handle_omp_array_sections has kept TREE_LIST because something
    was type dependent.
    * pt.c (tsubst_expr) <case OMP_TARGET, case OMP_TARGET_DATA>:
    Use keep_next_level, begin_omp_structured_block and
    finish_omp_structured_block instead of push_stmt_list and
    pop_stmt_list.
libgomp/
    * testsuite/libgomp.c++/pr63248.C: New test.

Added:
    branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c++/pr63248.C
Modified:
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/pt.c
    branches/gcc-4_9-branch/gcc/cp/semantics.c
    branches/gcc-4_9-branch/libgomp/ChangeLog

Reply via email to