r255532 - in /branches/gcc-6-branch: gcc/c/Chan...

vries@gcc.gnu.org vries@gcc.gnu.org
Sun Dec 10 21:37:00 GMT 2017


Author: vries
Date: Sun Dec 10 21:37:08 2017
New Revision: 255532

URL: https://gcc.gnu.org/viewcvs?rev=255532&root=gcc&view=rev
Log:
Backport "Fix condition folding in c_parser_omp_for_loop"

2017-12-10  Tom de Vries  <tom@codesourcery.com>

	backport from trunk:
	2017-09-16  Tom de Vries  <tom@codesourcery.com>

	PR c/81875
	* c-parser.c (c_parser_omp_for_loop): Fold only operands of cond, not
	cond itself.

	* testsuite/libgomp.c/pr81875.c: New test.

Added:
    branches/gcc-6-branch/libgomp/testsuite/libgomp.c/pr81875.c
Modified:
    branches/gcc-6-branch/gcc/c/ChangeLog
    branches/gcc-6-branch/gcc/c/c-parser.c
    branches/gcc-6-branch/libgomp/ChangeLog



More information about the Gcc-cvs mailing list