This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/35625] schedule(guided) loops forever if ((end - start) % incr) != 0



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]