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++/24502] [gomp] for loop inside template rejected



------- Comment #1 from cvs-commit at gcc dot gnu dot org  2005-10-24 19:47 -------
Subject: Bug 24502

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gomp-20050608-branch
Changes by:     jakub@gcc.gnu.org       2005-10-24 19:47:18

Modified files:
        gcc/cp         : ChangeLog.gomp 
        libgomp        : ChangeLog 
        gcc            : tree-nested.c 
Added files:
        libgomp/testsuite/libgomp.dg: nestedfn-2.c 

Log message:
        PR c++/24502
        * semantics.c (finish_omp_for): Handle MODOP_EXPR in addition to
        MODIFY_EXPR.

        * tree-nested.c (convert_nonlocal_reference): Handle OMP_MASTER and
        OMP_ORDERED.  Merge several OMP_* cases together by using OMP_CLAUSES
        and OMP_BODY macros.
        (convert_local_reference): Likewise.

        * testsuite/libgomp.dg/nestedfn-2.c: New test.

        * testsuite/libgomp.c++/loop-7.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.8.22&r2=1.1.8.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.6.54&r2=1.1.6.55
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/testsuite/libgomp.dg/nestedfn-2.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-nested.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=2.27.4.9&r2=2.27.4.10


-- 


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


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