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]

r182381 - in /trunk/gcc: ChangeLog c-parser.c c...


Author: jakub
Date: Thu Dec 15 17:29:25 2011
New Revision: 182381

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182381
Log:
	PR c/51360
	* c-parser.c (c_parser_omp_clause_num_threads,
	c_parser_omp_clause_schedule): Call mark_exp_read.

	* semantics.c (finish_omp_clauses): For OMP_CLAUSE_NUM_THREADS_EXPR
	and OMP_CLAUSE_SCHEDULE_CHUNK_EXPR call mark_rvalue_use.

	* c-c++-common/gomp/pr51360.c: New test.
	* g++.dg/gomp/pr51360.C: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/gomp/pr51360.c
    trunk/gcc/testsuite/g++.dg/gomp/pr51360.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-parser.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


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