r252125 - in /branches/range-gen2: gcc/c-family...

aldyh@gcc.gnu.org aldyh@gcc.gnu.org
Wed Sep 13 15:54:00 GMT 2017


Author: aldyh
Date: Wed Sep 13 15:53:59 2017
New Revision: 252125

URL: https://gcc.gnu.org/viewcvs?rev=252125&root=gcc&view=rev
Log:
	PR c/45784
	* c-omp.c (c_finish_omp_for): If the condition is wrapped in
	rhs of COMPOUND_EXPR(s), skip them and readd their lhs into
	new COMPOUND_EXPRs around the rhs of the comparison.

	* testsuite/libgomp.c/pr45784.c: New test.
	* testsuite/libgomp.c++/pr45784.C: New test.

Added:
    branches/range-gen2/libgomp/testsuite/libgomp.c++/pr45784.C
    branches/range-gen2/libgomp/testsuite/libgomp.c/pr45784.c
Modified:
    branches/range-gen2/gcc/c-family/ChangeLog
    branches/range-gen2/gcc/c-family/c-omp.c
    branches/range-gen2/libgomp/ChangeLog



More information about the Gcc-cvs mailing list