https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64868
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Feb 4 22:32:36 2015 New Revision: 220420 URL: https://gcc.gnu.org/viewcvs?rev=220420&root=gcc&view=rev Log: PR c/64824 PR c/64868 gcc/c/ * c-parser.c (c_parser_omp_atomic): Handle RDIV_EXPR. gcc/cp/ * parser.c (cp_parser_omp_atomic): Handle RDIV_EXPR. gcc/c-family/ * c-omp.c (c_finish_omp_atomic): Use TRUNC_DIV_EXPR instead of RDIV_EXPR. Use build_binary_op instead of build2_loc. libgomp/ * 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: trunk/libgomp/testsuite/libgomp.c++/pr64824.C trunk/libgomp/testsuite/libgomp.c++/pr64868.C trunk/libgomp/testsuite/libgomp.c/pr64824.c trunk/libgomp/testsuite/libgomp.c/pr64868.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-omp.c trunk/gcc/c/ChangeLog trunk/gcc/c/c-parser.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/libgomp/ChangeLog