gcc/libgomp
Jakub Jelinek c5cdb03fb9 re PR c/39495 (OMP parallel loop w/ unsigned index var rejected)
PR c/39495
	* c-parser.c (c_parser_omp_for_loop): Call c_parser_binary_expression
	instead of c_parser_expression_conv, if original_code isn't one of the
	4 allowed comparison codes, fail.

	* semantics.c (handle_omp_for_class_iterator): Swap cond operands and
	code if iter is the second operand.
	* parser.c (cp_parser_binary_expression): Add no_toplevel_fold_p
	argument.  If it is set, don't build the toplevel expression with
	build_x_binary_op, but build2.
	(cp_parser_assignment_expression,  cp_parser_omp_for_incr): Adjust
	callers.
	(cp_parser_omp_for_cond): Don't assume the first operand of the
	comparison must be decl.

	* gcc.dg/gomp/pr39495-2.c: Remove xfails.

	* testsuite/libgomp.c/loop-12.c: New test.
	* testsuite/libgomp.c/loop-11.c: New test.
	* testsuite/libgomp.c++/loop-11.C: New test.
	* testsuite/libgomp.c++/loop-12.C: New test.
	* testsuite/libgomp.c++/for-8.C: New test.

From-SVN: r145014
2009-03-23 22:05:30 +01:00
..
config re PR libgomp/38270 (libgomp test failures due to missing memory barrier) 2008-12-02 00:18:56 +00:00
testsuite re PR c/39495 (OMP parallel loop w/ unsigned index var rejected) 2009-03-23 22:05:30 +01:00
acinclude.m4 acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set libgomp_ld_is_gold. 2009-01-31 17:09:24 +00:00
aclocal.m4
alloc.c
barrier.c
ChangeLog re PR c/39495 (OMP parallel loop w/ unsigned index var rejected) 2009-03-23 22:05:30 +01:00
config.h.in re PR libgomp/38086 (libgomp fails to build if assembler doesn't support .symver) 2009-01-07 23:48:03 +01:00
configure backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
configure.ac
configure.tgt
critical.c
env.c
error.c
fortran.c
iter_ull.c
iter.c
libgomp_f.h.in
libgomp_g.h
libgomp.h re PR libgomp/38086 (libgomp fails to build if assembler doesn't support .symver) 2009-01-07 23:48:03 +01:00
libgomp.map
libgomp.spec.in
libgomp.texi re PR libgomp/37935 (omp_set_schedule not documented in libgomp.texi) 2008-11-04 19:16:17 +01:00
loop_ull.c
loop.c
Makefile.am
Makefile.in configure: Regenerate for new libtool. 2008-09-26 16:24:34 +00:00
omp_lib.f90.in
omp_lib.h.in
omp.h.in
ordered.c
parallel.c
sections.c
single.c
task.c
team.c
work.c