re PR c/35738 (ICE with #pragma omp atomic and conversion from pointer to int)
authorJakub Jelinek <jakub@redhat.com>
Thu, 3 Apr 2008 21:03:54 +0000 (23:03 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 3 Apr 2008 21:03:54 +0000 (23:03 +0200)
commit79addd1f3581896333c5437c10ae7a5202acc2ae
tree51e7c729870e7c06702c9a2e8c4544dad0371716
parent5da250fca2d707547044284a84e94beb0c74bb5a
re PR c/35738 (ICE with #pragma omp atomic and conversion from pointer to int)

PR c/35738
* c-parser.c (c_parser_omp_atomic): Call
default_function_array_conversion on the RHS.

* gcc.dg/gomp/pr35738.c: New test.

From-SVN: r133876
gcc/ChangeLog
gcc/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/pr35738.c [new file with mode: 0644]