This is the mail archive of the gcc-cvs@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]

r106942 - in /branches/gomp-20050608-branch/gcc...


Author: jakub
Date: Tue Nov 15 08:03:28 2005
New Revision: 106942

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106942
Log:
	* c-omp.c (check_omp_for_incr_expr): New function.
	(c_finish_omp_for): Use it to check and canonicalize INCR.
	Error if lhs of INCR MODIFY_EXPR isn't DECL or if RHS is DECL.
	Only look at COND operands after checking its TREE_CODE.

	* gcc.dg/gomp/for-17.c: New test.
	* g++.dg/gomp/for-18.C: New test.

Added:
    branches/gomp-20050608-branch/gcc/testsuite/g++.dg/gomp/for-18.C
    branches/gomp-20050608-branch/gcc/testsuite/gcc.dg/gomp/for-17.c
Modified:
    branches/gomp-20050608-branch/gcc/ChangeLog.gomp
    branches/gomp-20050608-branch/gcc/c-omp.c
    branches/gomp-20050608-branch/gcc/testsuite/ChangeLog.gomp


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