re PR middle-end/64824 (ICE in gimple verification)
authorJakub Jelinek <jakub@redhat.com>
Wed, 4 Feb 2015 22:32:36 +0000 (23:32 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 4 Feb 2015 22:32:36 +0000 (23:32 +0100)
commit4886ec8e709d547391d199bd88579d0f523f4e2d
tree02931ee5cccee35af26dbaf8156acf44d9ec6fb5
parent5a33f47d99d787af43fc8b27c29cea4e5c1432d8
re PR middle-end/64824 (ICE in gimple verification)

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.

From-SVN: r220420
gcc/c-family/ChangeLog
gcc/c-family/c-omp.c
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/cp/ChangeLog
gcc/cp/parser.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/pr64824.C [new file with mode: 0644]
libgomp/testsuite/libgomp.c++/pr64868.C [new file with mode: 0644]
libgomp/testsuite/libgomp.c/pr64824.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/pr64868.c [new file with mode: 0644]