re PR middle-end/36877 (-O0 -fopenmp -march=i386 atomics)
authorJakub Jelinek <jakub@redhat.com>
Sat, 19 Jul 2008 19:22:51 +0000 (21:22 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 19 Jul 2008 19:22:51 +0000 (21:22 +0200)
commita7ea9e2968dd6dc207e554ce89b16c291f4120a1
treeecfdf4122243551f09e7f5be9e301d91d6fb73d3
parent5e2be41f37d39b91e27c4d129a5861cfe80809ec
re PR middle-end/36877 (-O0 -fopenmp -march=i386 atomics)

PR middle-end/36877
* omp-low.c (expand_omp_atomic_fetch_op): Make sure the
return value of the builtin is ignored.

* gcc.dg/gomp/atomic-11.c: New test.

From-SVN: r137989
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/atomic-11.c [new file with mode: 0644]