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