[Bug libgomp/35625] schedule(guided) loops forever if ((end - start) % incr) != 0
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 18 09:56:00 GMT 2008
------- Comment #2 from jakub at gcc dot gnu dot org 2008-03-18 09:55 -------
Subject: Bug 35625
Author: jakub
Date: Tue Mar 18 09:55:09 2008
New Revision: 133307
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133307
Log:
PR libgomp/35625
* iter.c (gomp_iter_guided_next_locked): If q > n, set end to ws->end.
(gomp_iter_guided_next): Likewise.
* testsuite/libgomp.c/pr35625.c: New test.
Added:
branches/gcc-4_3-branch/libgomp/testsuite/libgomp.c/pr35625.c
Modified:
branches/gcc-4_3-branch/libgomp/ChangeLog
branches/gcc-4_3-branch/libgomp/iter.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35625
More information about the Gcc-bugs
mailing list