OSDN Git Service

PR libgomp/29947
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Dec 2006 10:26:00 +0000 (10:26 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Dec 2006 10:26:00 +0000 (10:26 +0000)
commit497f2858ac9b8d97b197b4657b4145ae0c7534a8
treef94786a4fcf50b6049962a9a01cc79e07e724e65
parent03ed154b4d8e57e186b37733cf5b095a5f506a2f
PR libgomp/29947
* omp-low.c (expand_omp_for_static_nochunk,
expand_omp_for_static_chunk): Do all arithmetics in signed rather than
unsigned type.

* loop.c (gomp_loop_init): Make parameters signed.  Set ws->end to
start if there shouldn't be any loop iterations.
(gomp_loop_ordered_static_start): Remove start == end test.
* testsuite/libgomp.c/pr29947-1.c: New test.
* testsuite/libgomp.c/pr29947-2.c: New test.

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