r220622 - in /branches/gcc-4_9-branch: gcc/c-fa...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Feb 11 14:44:00 GMT 2015


Author: jakub
Date: Wed Feb 11 14:44:10 2015
New Revision: 220622

URL: https://gcc.gnu.org/viewcvs?rev=220622&root=gcc&view=rev
Log:
	Backported from mainline
	2015-02-04  Jakub Jelinek  <jakub@redhat.com>

	PR c/64824
	PR c/64868
	* c-omp.c (c_finish_omp_atomic): Use TRUNC_DIV_EXPR
	instead of RDIV_EXPR.  Use build_binary_op instead of
	build2_loc.

	* c-parser.c (c_parser_omp_atomic): Handle RDIV_EXPR.

	* parser.c (cp_parser_omp_atomic): Handle RDIV_EXPR.

	* testsuite/libgomp.c/pr64824.c: New test.
	* testsuite/libgomp.c/pr64868.c: New test.
	* testsuite/libgomp.c++/pr64824.C: New test.
	* testsuite/libgomp.c++/pr64868.C: New test.

Added:
    branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c++/pr64824.C
    branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c++/pr64868.C
    branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c/pr64824.c
    branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c/pr64868.c
Modified:
    branches/gcc-4_9-branch/gcc/c-family/ChangeLog
    branches/gcc-4_9-branch/gcc/c-family/c-omp.c
    branches/gcc-4_9-branch/gcc/c/ChangeLog
    branches/gcc-4_9-branch/gcc/c/c-parser.c
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/parser.c
    branches/gcc-4_9-branch/libgomp/ChangeLog



More information about the Gcc-cvs mailing list