gcc/gcc ChangeLog.gomp c-omp.c c-parser.c omp- ...

rth@gcc.gnu.org rth@gcc.gnu.org
Tue Oct 18 10:39:00 GMT 2005


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gomp-20050608-branch
Changes by:	rth@gcc.gnu.org	2005-10-18 10:39:25

Modified files:
	gcc            : ChangeLog.gomp c-omp.c c-parser.c omp-low.c 
	                 tree.c tree.def tree.h 
	gcc/cp         : ChangeLog.gomp parser.c 
	gcc/fortran    : ChangeLog.gomp trans-openmp.c 
	gcc/testsuite  : ChangeLog.gomp 
	gcc/testsuite/g++.dg/gomp: sharing-1.C 
	gcc/testsuite/g++.dg/parse: pragma2.C 

Log message:
	* omp-low.c (struct omp_context): Add is_nested.
	(fixup_variable_sized): Split out of...
	(scan_sharing_clauses): ... here.  Avoid unnecessary indirection.
	(omp_copy_decl): Don't remap global variables.
	(scan_omp_nested): New.
	(scan_omp_1): Use it.
	(expand_omp_1): Avoid walking nested contexts.  Regimplify
	INDIRECT_REF properly.
	
	* c-omp.c (c_finish_omp_critical): Use make_node and accessors
	instead of build.
	* c-parser.c (c_parser_omp_single): Likewise.
	* tree.c (tree_range_check_failed): New.
	* tree.def: Update comments around omp codes.
	* tree.h (TREE_RANGE_CHECK): New.
	(OMP_BODY, OMP_CLAUSES): New.
	(OMP_PARALLEL_BODY, OMP_PARALLEL_CLAUSES, OMP_FOR_BODY,
	OMP_FOR_CLAUSES, OMP_FOR_INIT, OMP_FOR_COND, OMP_FOR_INCR,
	OMP_SECTIONS_BODY, OMP_SECTIONS_CLAUSES, OMP_SINGLE_BODY,
	OMP_SINGLE_CLAUSES, OMP_CRITICAL_BODY, OMP_CRITICAL_NAME): Renumber
	arguments to canonical form.
	(OMP_CLAUSE_CHAIN, OMP_CLAUSE_DECL): Add checking.
	cp/
	* parser.c (cp_parser_omp_single): Use make_node and accessors
	instead of build.
	fortran/
	* trans-openmp.c (gfc_trans_omp_critical): Update for changed
	operand numbering.
	(gfc_trans_omp_do, gfc_trans_omp_parallel, gfc_trans_omp_parallel_do,
	gfc_trans_omp_parallel_sections, gfc_trans_omp_parallel_workshare,
	gfc_trans_omp_sections, gfc_trans_omp_single): Likewise.
	testsuite/
	* g++.dg/gomp/sharing-1.C: Fix typo defining T::t.
	* g++.dg/parse/pragma2.C: Update expected errors.

Patches:
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.85&r2=1.1.6.86
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-omp.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.12&r2=1.1.2.13
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.34&r2=2.17.4.35
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/omp-low.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.23&r2=1.1.2.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.487.4.9&r2=1.487.4.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.def.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.116.4.18&r2=1.116.4.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.735.4.21&r2=1.735.4.22
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.6&r2=1.1.8.7
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.12&r2=1.340.4.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.21&r2=1.1.2.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-openmp.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.13&r2=1.1.2.14
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.30&r2=1.1.2.31
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/gomp/sharing-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/parse/pragma2.C.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.36.1&r2=1.1.36.2



More information about the Gcc-cvs mailing list