[Bug c++/70376] OpenMP taskloop construct fails to instantiate copy constructor(same as Bug 48869)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 23 18:43:00 GMT 2016


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Mar 23 18:42:19 2016
New Revision: 234437

URL: https://gcc.gnu.org/viewcvs?rev=234437&root=gcc&view=rev
Log:
        PR c++/70376
        * cp-gimplify.c (genericize_omp_for_stmt): Don't walk OMP_FOR_CLAUSES
        for OMP_TASKLOOP here.
        (cp_genericize_r): Handle OMP_TASKLOOP like OMP_TASK, except do call
        genericize_omp_for_stmt instead of cp_walk_tree on OMP_BODY.

        * testsuite/libgomp.c++/pr70376.C: New test.

Added:
    trunk/libgomp/testsuite/libgomp.c++/pr70376.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-gimplify.c
    trunk/libgomp/ChangeLog


More information about the Gcc-bugs mailing list