------- Comment #2 from jakub at gcc dot gnu dot org 2006-12-04 10:26 ------- Subject: Bug 29947
Author: jakub Date: Mon Dec 4 10:26:00 2006 New Revision: 119485 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119485 Log: 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. Added: trunk/libgomp/testsuite/libgomp.c/pr29947-1.c trunk/libgomp/testsuite/libgomp.c/pr29947-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/omp-low.c trunk/libgomp/ChangeLog trunk/libgomp/loop.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29947