This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/24735] [gomp] "#pragma omp barrier" doesn't work in templates



------- Comment #1 from jakub at gcc dot gnu dot org  2005-11-08 19:24 -------
Subject: Bug 24735

Author: jakub
Date: Tue Nov  8 19:24:51 2005
New Revision: 106651

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106651
Log:
        PR c++/24735
        * semantics.c (finish_omp_barrier, finish_omp_flush): New functions.
        * parser.c (cp_parser_omp_barrier): Call finish_omp_barrier.
        (cp_parser_omp_flush): Call finish_omp_flush.
        * cp-tree.h (finish_omp_barrier, finish_omp_flush): New prototypes.
testsuite/
        * g++.dg/gomp/tpl-barrier-1.C: New test.

Added:
    branches/gomp-20050608-branch/gcc/testsuite/g++.dg/gomp/tpl-barrier-1.C
Modified:
    branches/gomp-20050608-branch/gcc/cp/ChangeLog.gomp
    branches/gomp-20050608-branch/gcc/cp/cp-tree.h
    branches/gomp-20050608-branch/gcc/cp/parser.c
    branches/gomp-20050608-branch/gcc/cp/semantics.c
    branches/gomp-20050608-branch/gcc/testsuite/ChangeLog.gomp


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]