OSDN Git Service

PR middle-end/36106
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 May 2008 07:28:14 +0000 (07:28 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 May 2008 07:28:14 +0000 (07:28 +0000)
commit790368c5a04247b0ce30c17a79c1c2215f8e16de
tree8a49369b064d64c16fa89af2d0a836f7966d2e98
parentc08d707de91dbeead6851997fd809d70b4715b06
PR middle-end/36106
* omp-low.c (expand_omp_atomic_pipeline): Load value using the
integral type rather than floating point, then VIEW_CONVERT_EXPR
to the floating point type.

* testsuite/libgomp.c/atomic-5.c: New test.
* testsuite/libgomp.c/atomic-6.c: New test.
* testsuite/libgomp.c/autopar-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135027 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/atomic-5.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/atomic-6.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/autopar-1.c [new file with mode: 0644]