This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc libgomp/ChangeLog gcc/ChangeLog.gomp gcc/c ...
- From: rth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 21 Oct 2005 00:04:26 -0000
- Subject: gcc libgomp/ChangeLog gcc/ChangeLog.gomp gcc/c ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gomp-20050608-branch
Changes by: rth@gcc.gnu.org 2005-10-21 00:04:26
Modified files:
libgomp : ChangeLog
gcc : ChangeLog.gomp c-parser.c c-typeck.c
gcc/cp : ChangeLog.gomp cp-gimplify.c cp-tree.h parser.c
gcc/testsuite : ChangeLog.gomp
gcc/testsuite/g++.dg/gomp: block-1.C for-1.C
gcc/testsuite/gcc.dg/gomp: block-2.c for-1.c for-11.c
Added files:
libgomp/testsuite/libgomp.c++: loop-6.C
libgomp/testsuite/libgomp.dg: loop-3.c
gcc/testsuite/g++.dg/gomp: block-0.C block-2.C block-3.C
block-4.C block-5.C block-6.C
block-7.C
gcc/testsuite/gcc.dg/gomp: block-7.c
Log message:
gcc/
* c-parser.c (c_parser_omp_for_loop): Install the continue label,
if one was generated.
* c-typeck.c (c_finish_bc_stmt): Diagnose break within omp for.
gcc/cp/
* cp-gimplify.c (cp_gimplify_omp_for): New.
(cp_gimplify_expr): Call it.
* cp-tree.h (OMP_FOR_GIMPLIFYING_P): New.
* parser.c (struct cp_parser): Rename in_iteration_statement_p
to in_iteration_statement and change to unsigned char. Similarly
with in_switch_statement. Update all users.
(IN_OMP_BLOCK, IN_OMP_FOR): New.
(cp_parser_labeled_statement): Diagnose case labels binding closer
to an openmp block nested than the switch.
(cp_parser_jump_statement): Diagnose break and continue labels
binding closer to an openmp block than an iteration or switch.
(cp_parser_omp_for_loop): Mark in_iteration_statement for an omp for.
(cp_parser_begin_omp_structured_block): New.
(cp_parser_end_omp_structured_block): New.
(cp_parser_omp_structured_block): Use them.
(cp_parser_omp_for, cp_parser_omp_sections_scope): Likewise.
(cp_parser_omp_parallel): Likewise.
gcc/testsuite/
* g++.dg/gomp/block-0.C: Rename from block-1.C.
* g++.dg/gomp/block-1.C, g++.dg/gomp/block-2.C: Copy from C tests.
* g++.dg/gomp/block-3.C, g++.dg/gomp/block-4.C: Likewise.
* g++.dg/gomp/block-5.C, g++.dg/gomp/block-6.C: Likewise.
* g++.dg/gomp/block-7.C, gcc.dg/gomp/block-7.c: New.
* g++.dg/gomp/for-1.C: Update expected errors.
* gcc.dg/gomp/for-1.c, gcc.dg/gomp/for-11.c: Likewise.
* gcc.dg/gomp/block-2.c: Likewise.
libgomp/
* testsuite/libgomp.c++/loop-6.C: New.
* testsuite/libgomp.dg/loop-3.c: New.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.6.48&r2=1.1.6.49
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/testsuite/libgomp.c++/loop-6.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/libgomp/testsuite/libgomp.dg/loop-3.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/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.6.94&r2=1.1.6.95
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parser.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=2.17.4.36&r2=2.17.4.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.450.4.11&r2=1.450.4.12
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.13&r2=1.1.8.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-gimplify.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.20.4.2&r2=1.20.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1144.4.12&r2=1.1144.4.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.340.4.16&r2=1.340.4.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.39&r2=1.1.2.40
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/gomp/block-0.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/testsuite/g++.dg/gomp/block-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/testsuite/g++.dg/gomp/block-3.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/testsuite/g++.dg/gomp/block-4.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/testsuite/g++.dg/gomp/block-5.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/testsuite/g++.dg/gomp/block-6.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/testsuite/g++.dg/gomp/block-7.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/testsuite/g++.dg/gomp/block-1.C.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/gomp/for-1.C.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/gomp/block-7.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/testsuite/gcc.dg/gomp/block-2.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/gomp/for-1.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/gomp/for-11.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.2&r2=1.1.2.3