1 2006-02-03 H.J. Lu <hongjiu.lu@intel.com>
4 * testsuite/lib/libgomp-dg.exp (blddir): Set it in
7 2005-01-25 Paolo Bonzini <bonzini@gnu.org>
10 * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove.
11 * configure.ac (PERL): Don't set.
12 (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here.
13 (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE,
14 OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions.
15 * omp.h.in: Wrap the new configure substitutions with @ characters.
16 * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise.
17 * aclocal.m4, configure, Makefile.in: Regenerate.
20 2005-01-24 Paolo Bonzini <bonzini@gnu.org>
23 * configure.ac: Use GCC_HEADER_STDINT.
24 * libgomp.h: Include gstdint.h.
25 * libgomp_f.h.in: Don't include stdint.h or inttypes.h.
26 * configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild.
28 2006-01-24 Richard Henderson <rth@redhat.com>
31 * configure.ac: Add AM_MAINTAINER_MODE.
32 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild.
34 2006-01-24 Diego Novillo <dnovillo@redhat.com>
36 * Makefile.in: Regenerate.
37 * testsuite/Makefile.in: Regenerate.
38 * aclocal.m4: Regenerate.
40 2006-01-23 Andreas Tobler <a.tobler@schweiz.ch>
42 * config/posix/proc.c: Conditional include of sys/loadavg.h for
44 * configure.ac: Add check for loadavg.h.
45 (link_gomp): Adjust comment.
46 * configure: Regenerate.
47 * config.h.in: Regenerate.
49 2006-01-21 Steve Ellcey <sje@cup.hp.com>
52 * configure.ac: Remove check for alloca.h.
53 * configure: Regenerate.
54 * config.h.in: Regenerate.
55 * libgomp.h: define gomp_alloca to be __builtin_alloca.
56 * team.c: Remove use of alloca.h.
57 Call gomp_alloca instead of alloca.
59 2006-01-20 Steve Ellcey <sje@cup.hp.com>
62 * team.c: Add include of alloca.h.
63 * configure.ac: Add check for alloca.h.
64 * configure: Regenerate.
65 * config.h.in: Regenerate.
67 2006-01-17 Jakub Jelinek <jakub@redhat.com>
70 * testsuite/libgomp.fortran/pr25219.f90: New test.
72 2005-12-05 Uros Bizjak <uros@kss-loka.si>
74 * testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c,
75 testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c,
76 testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
77 testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
78 testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C,
79 testsuite/libgomp.fortran/threadprivate1.f90,
80 testsuite/libgomp.fortran/threadprivate2.f90,
81 testsuite/libgomp.fortran/threadprivate3.f90,
82 testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
83 testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
84 testsuite/libgomp.fortran/omp_parse3.f90: Change required
85 effective-target to TLS runtime.
87 * testsuite/libgomp.fortran/pr25162.f: Require
88 effective-target TLS runtime.
90 2005-12-01 Jakub Jelinek <jakub@redhat.com>
92 * testsuite/libgomp.fortran/nestedfn2.f90: New test.
93 * testsuite/libgomp.c/nestedfn-3.c: New test.
95 2005-11-30 Jakub Jelinek <jakub@redhat.com>
98 * testsuite/libgomp.fortran/pr25162.f: New test.
100 2005-11-28 Jakub Jelinek <jakub@redhat.com>
102 * config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to
103 CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed.
105 2005-11-25 Jakub Jelinek <jakub@redhat.com>
107 * alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c,
108 libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in,
109 omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c,
110 single.c, team.c, work.c, config/linux/alpha/futex.h,
111 config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h,
112 config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h,
113 config/linux/powerpc/futex.h, config/linux/s390/futex.h,
114 config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h,
115 config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h,
116 config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c,
117 config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update
120 2005-11-18 Jakub Jelinek <jakub@redhat.com>
122 * Makefile.am: Move libgomp_f.h from nodist_include_HEADERS
123 to nodist_noinst_HEADERS.
124 * Makefile.in: Rebuilt.
126 * config/posix/omp-lock.h (omp_nest_lock_t): Change into struct,
127 add integer count field.
128 * config/posix/lock.c (omp_destroy_nest_lock): Adjust for
129 omp_nest_lock_t type change.
130 (omp_init_nest_lock): Likewise. Initialize count to 0.
131 (omp_set_nest_lock): Adjust for omp_nest_lock_t type change.
133 (omp_unset_nest_lock): Adjust for omp_nest_lock_t type change.
135 (omp_test_nest_lock): Adjust for omp_nest_lock_t type change.
136 Increment count if successful and return the new nesting level.
137 * config/linux/lock.c (omp_test_nest_lock): Return new nesting level.
138 * omp_lib.f90.in (omp_test_lock): Fix LOCK argument type.
139 * testsuite/libgomp.c/lib-1.c: New test.
140 * testsuite/libgomp.fortran/lib1.f90: New test.
141 * testsuite/libgomp.fortran/lib2.f: New test.
142 * testsuite/libgomp.fortran/lib3.f: New test.
144 2005-11-17 Richard Henderson <rth@redhat.com>
147 * Makefile.am (nodist_toolexeclib_HEADERS): New.
148 * configure.ac (link_gomp): New. Substitute it.
149 (AC_CONFIG_FILES): Add libgomp.spec.
150 * libgomp.spec.in: New file.
151 * Makefile.in, testsuite/Makefile.in, configure: Rebuild.
152 * testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags.
154 2005-11-18 Jakub Jelinek <jakub@redhat.com>
156 * testsuite/libgomp.fortran/reduction1.f90: Adjust for
157 reduction(-:var) behaving the same as reduction(+:var).
158 * testsuite/libgomp.c/reduction-4.c: New test.
160 2005-11-15 Uros Bizjak <uros@kss-loka.si>
162 * testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c,
163 testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c,
164 testsuite/libgomp.c/copyin-3.c,
165 testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
166 testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
167 testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C,
168 testsuite/libgomp.c++/pr24455.C,
169 testsuite/libgomp.fortran/threadprivate1.f90,
170 testsuite/libgomp.fortran/threadprivate2.f90,
171 testsuite/libgomp.fortran/threadprivate3.f90,
172 testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
173 testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
174 testsuite/libgomp.fortran/omp_parse3.f90: Require
175 effective-target TLS.
177 2005-11-14 Diego Novillo <dnovillo@redhat.com>
181 2005-11-13 Jakub Jelinek <jakub@redhat.com>
184 * team.c (initialize_team): Pass NULL rather than free as
185 pthread_key_create destructor. Initialize thread specific data
186 pointer in initial thread to a static local variable rather than
189 2005-11-11 Uros Bizjak <uros@kss-loka.si>
191 * testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append
192 its location to ld_library_path.
194 2005-11-10 Diego Novillo <dnovillo@redhat.com>
196 * testsuite/libgomp.c/c.exp: Rename from dg.exp.
198 2005-11-10 Diego Novillo <dnovillo@redhat.com>
200 * testsuite/libgomp.c: Rename from libgomp.dg.
202 2005-11-09 Diego Novillo <dnovillo@redhat.com>
204 * testsuite/libgomp.c++/pr24455.C: Add copyin clause for
205 threadprivate variable 'i'.
207 2005-11-09 Jakub Jelinek <jakub@redhat.com>
209 * config/linux/s390/futex.h: New file.
210 * configure.tgt: Use it.
212 * testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization
215 2005-11-08 Jakub Jelinek <jakub@redhat.com>
218 * testsuite/libgomp.c++/master-1.C: New test.
220 2005-11-07 Jakub Jelinek <jakub@redhat.com>
222 * testsuite/libgomp.dg/copyin-3.c: New test.
224 2005-11-07 Jakub Jelinek <jakub@redhat.com>
226 * testsuite/libgomp.fortran/retval1.f90: New test.
227 * testsuite/libgomp.fortran/vla7.f90: New test.
229 2005-11-06 Jakub Jelinek <jakub@redhat.com>
231 * testsuite/libgomp.fortran/vla2.f90: New test.
232 * testsuite/libgomp.fortran/vla3.f90: New test.
233 * testsuite/libgomp.fortran/vla4.f90: New test.
234 * testsuite/libgomp.fortran/vla5.f90: New test.
235 * testsuite/libgomp.fortran/vla6.f90: New test.
237 2005-11-01 Jakub Jelinek <jakub@redhat.com>
239 * config/linux/sparc/futex.h: New file.
240 * configure.tgt: Use it.
241 * testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing.
243 * critical.c: Include stdlib.h.
244 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about
245 ignoring return value.
246 * configure.ac: Don't put -Wc,-pthread into XCFLAGS until after
247 LIBGOMP_CHECK_SYNC_BUILTINS check.
248 * configure: Rebuilt.
250 2005-10-31 Jakub Jelinek <jakub@redhat.com>
252 * testsuite/libgomp.fortran/vla1.f90: New test.
254 2005-10-31 Richard Henderson <rth@redhat.com>
256 * testsuite/libgomp.fortran/character2.f90: Fix race condition
257 setting 's' in different threads.
259 2005-10-31 Jakub Jelinek <jakub@redhat.com>
261 * libgomp.h (attribute_hidden, ialias): Define.
262 * config/posix/proc.c (omp_get_num_procs): Add ialias.
263 * config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise.
264 * config/posix/lock.c (omp_init_lock, omp_init_nest_lock,
265 omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
266 omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
267 omp_test_lock, omp_test_nest_lock): Likewise.
268 * config/linux/lock.c (omp_init_lock, omp_init_nest_lock,
269 omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
270 omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
271 omp_test_lock, omp_test_nest_lock): Likewise.
272 * env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads,
273 omp_get_dynamic, omp_get_nested): Likewise.
274 * parallel.c (omp_get_num_threads, omp_get_max_threads,
275 omp_get_thread_num, omp_in_parallel): Likewise.
276 * fortran.c (ialias_redirect): Define.
277 (omp_init_lock, omp_init_nest_lock, omp_destroy_lock,
278 omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock,
279 omp_unset_lock, omp_unset_nest_lock, omp_test_lock,
280 omp_test_nest_lock, omp_set_dynamic, omp_set_nested,
281 omp_set_num_threads, omp_get_dynamic, omp_get_nested,
282 omp_in_parallel, omp_get_max_threads, omp_get_num_procs,
283 omp_get_num_threads, omp_get_thread_num, omp_get_wtick,
284 omp_get_wtime): Add ialias_redirect.
286 2005-10-30 Jakub Jelinek <jakub@redhat.com>
288 * fortran.c: Include stdlib.h.
290 2005-10-29 Jakub Jelinek <jakub@redhat.com>
292 * Makefile.am (env.o, env.lo): Depend on libgomp_f.h.
293 * Makefile.in: Regenerated.
295 2005-10-28 Jakub Jelinek <jakub@redhat.com>
297 * mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE.
298 * libgomp_f.h.in (omp_check_defines): New function.
299 * env.c: Include libgomp_f.h.
300 (initialize_env): Call omp_check_defines.
302 * testsuite/libgomp.dg/copyin-2.c: New test.
303 * testsuite/libgomp.c++/copyin-2.C: New test.
304 * testsuite/libgomp.fortran/threadprivate3.f90: New test.
306 * testsuite/libgomp.fortran/threadprivate2.f90: New test.
307 * testsuite/libgomp.fortran/sharing2.f90: New test.
309 * testsuite/libgomp.dg/copyin-1.c: New test.
310 * testsuite/libgomp.c++/copyin-1.C: New test.
312 2005-10-26 Jakub Jelinek <jakub@redhat.com>
314 * testsuite/libgomp.fortran/crayptr1.f90: New test.
316 * testsuite/libgomp.fortran/workshare1.f90: New test.
318 * libgomp.fortran/appendix-a/a.28.5.f90: Change into compile
320 * libgomp.fortran/sharing1.f90: New test.
322 2005-10-24 Jakub Jelinek <jakub@redhat.com>
325 * testsuite/libgomp.c++/loop-7.C: New test.
327 * testsuite/libgomp.dg/nestedfn-2.c: New test.
329 * testsuite/libgomp.dg/nestedfn-1.c: New test.
330 * testsuite/libgomp.fortran/reduction6.f90: New test.
331 * testsuite/libgomp.fortran/nestedfn1.f90: New test.
333 2005-10-23 Richard Henderson <rth@redhat.com>
335 * testsuite/libgomp.c++/ctor-1.C: New.
336 * testsuite/libgomp.c++/ctor-2.C: New.
337 * testsuite/libgomp.c++/ctor-3.C: New.
338 * testsuite/libgomp.c++/ctor-4.C: New.
339 * testsuite/libgomp.c++/ctor-5.C: New.
340 * testsuite/libgomp.c++/ctor-6.C: New.
341 * testsuite/libgomp.c++/ctor-7.C: New.
342 * testsuite/libgomp.c++/ctor-8.C: New.
343 * testsuite/libgomp.c++/ctor-9.C: New.
345 2005-10-21 Diego Novillo <dnovillo@redhat.com>
348 * testsuite/libgomp.c++/pr24455-1.C: New test.
349 * testsuite/libgomp.c++/pr24455.C: New test.
350 * testsuite/libgomp.dg/pr24455-1.c: New test.
351 * testsuite/libgomp.dg/pr24455.c: New test.
353 2005-10-20 Richard Henderson <rth@redhat.com>
355 * testsuite/libgomp.c++/loop-6.C: New.
356 * testsuite/libgomp.dg/loop-3.c: New.
358 2005-10-20 Jakub Jelinek <jakub@redhat.com>
360 * testsuite/libgomp.fortran/jacobi.f: Don't make i and j
362 * testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i
365 2005-10-19 Diego Novillo <dnovillo@redhat.com>
367 * testsuite/libgomp.fortran/jacobi.f: New test.
369 2005-10-19 Richard Henderson <rth@redhat.com>
371 * configure.tgt (i?86-linux): Default to with_arch instead of
372 CFLAGS. Add -mtune to match target_cpu.
373 (x86_64-linux): Tune to i686.
375 * fortran.c (omp_test_nest_lock_): Fix typo.
377 2005-10-19 Jakub Jelinek <jakub@redhat.com>
379 * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
380 gomp_ordered_sync): Do nothing if team->nthreads == 1.
381 * testsuite/libgomp.dg/ordered-3.c: New test.
383 * testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort.
384 Remove volatile keyword.
386 * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables
387 in COMMON block to avoid warnings on 64-bit targets.
389 2005-10-18 Diego Novillo <dnovillo@redhat.com>
391 * testsuite/libgomp.dg/shared-3.c: New test.
393 2005-10-18 Jakub Jelinek <jakub@redhat.com>
395 * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed.
396 * testsuite/libgomp.fortran/reduction5.f90: New test.
398 2005-10-18 Jakub Jelinek <jakub@redhat.com>
400 * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to
402 * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise. Enable
403 flush loop now that __sync_synchronize has proper memory barrier.
404 * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo.
405 Add -ffixed-form to dg-options.
407 2005-10-17 Diego Novillo <dnovillo@redhat.com>
409 * testsuite/libgomp.fortran/fortran.exp: Also gather tests
411 * testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test.
412 * testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test.
413 * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test.
414 * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test.
415 * testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test.
416 * testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test.
417 * testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test.
418 * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test.
419 * testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test.
420 * testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test.
421 * testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test.
422 * testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test.
423 * testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test.
424 * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test.
425 * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test.
426 * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test.
427 * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test.
428 * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test.
429 * testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test.
430 * testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test.
431 * testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test.
432 * testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test.
433 * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test.
434 * testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test.
435 * testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test.
437 2005-10-17 Jakub Jelinek <jakub@redhat.com>
439 * testsuite/libgomp.dg/dg.exp: Only unset lang_* if
440 lang_library_path exists. Use find instead of glob to gather tests.
441 * testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed.
443 2005-10-17 Diego Novillo <dnovillo@redhat.com>
445 * testsuite/libgomp.dg/appendix-a/a.15.1.c: New test.
446 * testsuite/libgomp.dg/appendix-a/a.16.1.c: New test.
447 * testsuite/libgomp.dg/appendix-a/a.18.1.c: New test.
448 * testsuite/libgomp.dg/appendix-a/a.19.1.c: New test.
449 * testsuite/libgomp.dg/appendix-a/a.2.1.c: New test.
450 * testsuite/libgomp.dg/appendix-a/a.21.1.c: New test.
451 * testsuite/libgomp.dg/appendix-a/a.26.1.c: New test.
452 * testsuite/libgomp.dg/appendix-a/a.29.1.c: New test.
453 * testsuite/libgomp.dg/appendix-a/a.3.1.c: New test.
454 * testsuite/libgomp.dg/appendix-a/a.39.1.c: New test.
455 * testsuite/libgomp.dg/appendix-a/a.4.1.c: New test.
456 * testsuite/libgomp.dg/appendix-a/a.5.1.c: New test.
457 * testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file.
459 2005-10-15 Jakub Jelinek <jakub@redhat.com>
461 * testsuite/libgomp.dg/vla-1.c: New test.
463 * testsuite/libgomp.fortran/reference2.f90: New test.
465 * testsuite/libgomp.fortran/character2.f90: Remove explicit
466 declaration of omp_get_thread_num.
467 * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. Add
470 * testsuite/libgomp.fortran/reduction1.f90: New test.
471 * testsuite/libgomp.fortran/reduction2.f90: New test.
472 * testsuite/libgomp.fortran/reduction3.f90: New test.
473 * testsuite/libgomp.fortran/reduction4.f90: New test.
475 2005-10-13 Richard Henderson <rth@redhat.com>
477 * Makefile.am (libgomp_la_SOURCES): Add bar.c.
478 * Makefile.in: Regenerate.
479 * barrier.c (GOMP_barrier): Use gomp_barrier_wait.
480 * libgomp.h: Include bar.h.
481 (struct gomp_barrier): Remove.
482 (struct gomp_team): Add barrier. Replace master_barrier with
483 master_release. Replace threads with ordered_release.
484 (struct gomp_thread): Replace barrier with release.
485 * ordered.c (gomp_ordered_first): Update for ordered_release change.
486 (gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init,
487 gomp_ordered_static_next, gomp_ordered_sync): Likewise.
488 * single.c (GOMP_single_copy_start): Use gomp_barrier_wait.
489 (GOMP_single_copy_end): Likewise.
490 * team.c (gomp_threads_dock): New.
491 (gomp_barrier_init, gomp_barrier_destroy): Remove.
492 (gomp_thread_start): Use gomp_barrier_wait.
493 (new_team, free_team): Update for gomp_team changes.
494 (gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit.
495 (gomp_team_end): Use gomp_barrier_wait.
496 (initialize_team): Update for gomp_thread changes.
497 * work.c (gomp_work_share_end): Use gomp_barrier_wait_start.
498 (gomp_work_share_end_nowait): Use atomic ops when available.
499 * config/linux/bar.c, config/linux/bar.h: New files.
500 * config/posix/bar.c, config/posix/bar.h: New files.
502 2005-10-13 Jakub Jelinek <jakub@redhat.com>
504 * single.c (GOMP_single_copy_end): Don't segfault if team is NULL.
505 * testsuite/libgomp.dg/single-2.c: New test.
507 * testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file,
508 lang_link_flags): Unset, so that they aren't inherited from previously
511 * testsuite/libgomp.fortran/threadprivate1.f90: New test.
513 2005-10-12 Richard Henderson <rth@redhat.com>
515 * testsuite/lib/libgomp-dg.exp: Set blddir at toplevel.
516 (libgomp_init): Use lang_test_file, lang_library_path, and
517 lang_link_flags, set by the subdirectory files. Add -fopenmp here.
519 * testsuite/libgomp.fortran/fortran.exp (lang_library_path): New.
520 (lang_test_file, lang_link_flags): New.
521 (DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove.
523 * testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C,
524 testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C,
525 testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C,
526 testsuite/libgomp.c++/parallel-1.C,
527 testsuite/libgomp.c++/reduction-1.C,
528 testsuite/libgomp.c++/reduction-2.C,
529 testsuite/libgomp.c++/reduction-3.C,
530 testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C,
531 testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C,
532 testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C:
533 New files, largely cribbed from the C testsuite.
535 2005-10-12 Jakub Jelinek <jakub@redhat.com>
537 * testsuite/libgomp.fortran/character1.f90: New test.
538 * testsuite/libgomp.fortran/character2.f90: New test.
540 * testsuite/libgomp.dg/nested-1.c: New test.
541 * testsuite/libgomp.dg/nested-2.c: New test.
542 * testsuite/libgomp.fortran/do1.f90: New test.
543 * testsuite/libgomp.fortran/do2.f90: New test.
545 * testsuite/libgomp.fortran/reference1.f90: New test.
547 2005-10-11 Jakub Jelinek <jakub@redhat.com>
549 * testsuite/libgomp.dg/reduction-1.c: New test.
550 * testsuite/libgomp.dg/reduction-2.c: New test.
551 * testsuite/libgomp.dg/reduction-3.c: New test.
553 2005-10-10 Jakub Jelinek <jakub@redhat.com>
555 * testsuite/libgomp.dg/atomic-1.c: New test.
556 * testsuite/libgomp.dg/atomic-2.c: New test.
558 2005-10-09 Richard Henderson <rth@redhat.com>
560 * critical.c (atomic_lock): New.
561 (initialize_critical): Initialize it.
562 (GOMP_atomic_start, GOMP_atomic_end): New.
563 * libgomp.map: Export them.
564 * libgomp_g.h: Declare them.
566 * testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite.
568 2005-10-02 Richard Henderson <rth@redhat.com>
570 * configure.ac: Move save_CFLAGS hack earlier. Append -Wall/-Werror
571 to XCFLAGS instead of CFLAGS.
573 2005-09-30 Richard Henderson <rth@redhat.com>
575 * configure.ac: Determine whether -pthread or -lpthread is needed.
576 * Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread.
577 * Makefine.in, configure: Rebuild.
579 2005-09-28 Richard Henderson <rth@redhat.com>
581 * testsuite/libgomp.dg/omp-loop03.c: Fix return code.
582 * testsuite/libgomp.dg/omp-single-3.c: New test.
584 2005-09-28 Diego Novillo <dnovillo@redhat.com>
586 * testsuite/libgomp.dg/omp-single-2.c: New test.
587 * testsuite/libgomp.dg/shared-2.c: Fix return code.
589 2005-09-27 Richard Henderson <rth@redhat.com>
591 * testsuite/libgomp.dg/omp-loop03.c: Add initial barrier.
592 * testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule.
594 2005-09-27 Jakub Jelinek <jakub@redhat.com>
596 * testsuite/libgomp.dg/omp-loop03.c: New test.
598 2005-09-27 Diego Novillo <dnovillo@redhat.com>
600 * testsuite/libgomp.dg/omp-parallel-for.c: New test.
602 2005-09-27 Diego Novillo <dnovillo@redhat.com>
604 * testsuite/libgomp.dg/omp-single-1.c: New test.
605 * testsuite/libgomp.dg/shared-1.c: Return 0.
606 Add prototype for abort.
607 * testsuite/libgomp.dg/shared-2.c: Likewise.
609 2005-09-26 Jakub Jelinek <jakub@redhat.com>
611 * testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming
614 2005-09-26 Diego Novillo <dnovillo@redhat.com>
616 * testsuite/libgomp.dg/shared-1.c: New test.
617 * testsuite/libgomp.dg/shared-2.c: New test.
619 2005-09-24 Richard Henderson <rth@redhat.com>
621 * testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error.
623 2005-09-24 Richard Henderson <rth@redhat.com>
625 * iter.c (gomp_iter_static_next): Round up when computing number
626 of iterations. Don't bother distributing a remainder equally.
628 * testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main.
629 Don't call srand. Zero b before testing.
632 2005-09-24 Jakub Jelinek <jakub@redhat.com>
634 * testsuite/libgomp.fortran/omp_atomic1.f90: New test.
635 * testsuite/libgomp.fortran/omp_atomic2.f90: New test.
637 2005-09-23 Jakub Jelinek <jakub@redhat.com>
639 * testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do
640 without !$omp end do, followed immediately by subroutine end.
642 2005-09-23 Diego Novillo <dnovillo@redhat.com>
644 * testsuite/libgomp.dg/omp-parallel-if.c: New test.
646 2005-09-22 Richard Henderson <rth@redhat.com>
648 * critical.c (GOMP_critical_name_start): Change argument to void**.
649 Reuse the pointer space if the mutex fits.
650 (GOMP_critical_name_end): Likewise.
651 (initialize_critical): Don't define if GOMP_MUTEX_INIT_0.
652 * libgomp_g.h (GOMP_critical_name_start): Update decl.
653 (GOMP_critical_name_end): Likewise.
654 * config/linux/mutex.h (GOMP_MUTEX_INIT_0): New.
655 * config/posix/mutex.h (GOMP_MUTEX_INIT_0): New.
657 2005-09-20 Richard Henderson <rth@redhat.com>
659 * critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New.
660 (create_lock_lock): New.
661 (initialize_critical): Initialize it.
662 * libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New.
663 * libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare.
665 2005-09-20 Diego Novillo <dnovillo@redhat.com>
667 * testsuite/libgom.dg/omp-loop01.c: Include stdio.h.
669 2005-09-20 Diego Novillo <dnovillo@redhat.com>
671 * testsuite/libgomp.dg/omp-loop01.c: New test.
672 * testsuite/libgomp.dg/omp-loop02.c: New test.
674 2005-09-20 Jakub Jelinek <jakub@redhat.com>
676 * configure.ac (AC_PROG_FC): Add.
677 (USE_FORTRAN): New automake conditional.
678 * configure: Rebuilt.
679 * Makefile.am (libgomp_la_SOURCES): Add fortran.c.
680 (nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h.
681 If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod.
682 Add rules to build them.
683 * Makefile.in: Rebuilt.
684 * mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and
686 * libgomp.map: Add Fortran wrappers.
687 * libgomp_f.h.in: New file.
688 * omp_lib.h.in: New file.
689 * omp_lib.f90.in: New file.
690 * fortran.c: New file.
691 * testsuite/lib/libgomp-dg.exp: Load a few more .exp files.
692 Append libgfortran directory to LD_LIBRARY_PATH if it exists.
693 Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if
694 libgfortran has been built.
695 * testsuite/libgomp.fortran/fortran.exp: New file.
696 * testsuite/libgomp.fortran/omp_cond1.f: New test.
697 * testsuite/libgomp.fortran/omp_cond2.f: New test.
698 * testsuite/libgomp.fortran/omp_cond3.F90: New test.
699 * testsuite/libgomp.fortran/omp_cond4.F90: New test.
700 * testsuite/libgomp.fortran/omp_hello.f: New test.
701 * testsuite/libgomp.fortran/omp_orphan.f: New test.
702 * testsuite/libgomp.fortran/omp_parse1.f90: New test.
703 * testsuite/libgomp.fortran/omp_parse2.f90: New test.
704 * testsuite/libgomp.fortran/omp_parse3.f90: New test.
705 * testsuite/libgomp.fortran/omp_parse4.f90: New test.
706 * testsuite/libgomp.fortran/omp_reduction.f: New test.
707 * testsuite/libgomp.fortran/omp_workshare1.f: New test.
708 * testsuite/libgomp.fortran/omp_workshare2.f: New test.
710 2005-08-30 Richard Henderson <rth@redhat.com>
712 * loop.c (GOMP_loop_static_start): Provide fallback wrapper
713 function for when aliases are not usable.
714 (GOMP_loop_dynamic_start, GOMP_loop_guided_start,
715 GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
716 GOMP_loop_ordered_guided_start, GOMP_loop_static_next,
717 GOMP_loop_dynamic_next, GOMP_loop_guided_next,
718 GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next,
719 GOMP_loop_ordered_guided_next): Likewise.
720 * ordered.c (GOMP_ordered_start): Likewise.
722 2005-08-01 Diego Novillo <dnovillo@redhat.com>
724 * testsuite/libgomp.dg/dg.exp: Use -O2 for now.
725 * testsuite/libgomp.dg/omp_hello.c: Fix return code
726 * testsuite/libgomp.dg/omp_matvec.c: Likewise.
727 * testsuite/libgomp.dg/omp_orphan.c: Likewise
728 * testsuite/libgomp.dg/omp_reduction.c: Likewise
729 * testsuite/libgomp.dg/omp_workshare1.c: Likewise
730 * testsuite/libgomp.dg/omp_workshare2.c: Likewise
731 * testsuite/libgomp.dg/omp_workshare3.c: Likewise
732 * testsuite/libgomp.dg/omp_workshare4.c: Likewise
734 2005-07-07 Eric Christopher <echristo@redhat.com>
735 Diego Novillo <dnovillo@redhat.com>
737 * testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS.
738 * testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix
740 * testsuite/libgomp.dg/omp_matvec.c: Ditto.
741 * testsuite/libgomp.dg/omp_orphan.c: Ditto.
742 * testsuite/libgomp.dg/omp_reduction.c: Ditto.
743 * testsuite/libgomp.dg/omp_workshare1.c: Ditto.
744 * testsuite/libgomp.dg/omp_workshare2.c: Ditto.
745 * testsuite/libgomp.dg/omp_workshare3.c: Ditto.
746 * testsuite/libgomp.dg/omp_workshare4.c: Ditto.
748 2005-06-13 Diego Novillo <dnovillo@redhat.com>
750 * TOPLEVEL.patch: Remove.
752 2005-05-16 Richard Henderson <rth@redhat.com>
754 * configure.ac: Test for clock_gettime.
755 * config.h.in, configure: Rebuild.
756 * config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern.
757 (omp_get_wtime): Use clock_gettime if available.
758 (omp_get_wtick): Use clock_getres if available.
760 2005-05-11 Richard Henderson <rth@redhat.com>
762 * config/linux/ia64/futex.h: New file.
763 * configure.tgt: Use it.
765 * team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline.
767 2005-05-07 Richard Henderson <rth@redhat.com>
769 * config/linux/powerpc/futex.h: New file.
770 * configure.tgt: Use it.
772 * config/linux/i486/futex.h: Merge ...
773 * config/linux/x86_64/futex.h: ... into ...
774 * config/linux/x86/futex.h: ... here.
775 * configure.tgt: Update to match.
777 2005-05-06 Richard Henderson <rth@redhat.com>
779 * config/linux/alpha/futex.h: Conditionally define SYS_futex.
780 * config/linux/i486/futex.h: Likewise.
781 * config/linux/x86_64/futex.h: Likewise.
783 * config/linux/lock.c: New file.
784 * config/linux/omp-lock.h: New file.
786 * critical.c, env.h: Don't include omp.h
787 * config/posix/lock.c: Include libgomp.h instead of omp.h.
788 * config/posix/time.c: Likewise.
789 * config/posix/omp-lock.h: New file.
790 * libgomp.h: Include omp-lock.h and omp.h.
791 * Makefile.am (nodist_include_HEADERS): New.
793 * configure.ac (PERL): New.
794 * mkomp_h.pl: New file.
795 * omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t
797 * Makefile.in, configure, testsuite/Makefile.in: Rebuild.
799 * testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into
800 build directory. Re-add -march=i486 hack.
802 * testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove.
803 (libgomp_link_flags): Remove.
804 (libgomp_initialized): Remove.
805 (libgomp_init): Don't protect from reinitialization. Copy code
806 from libstdc++ for getting the multilib set correctly.
808 2005-05-05 Richard Henderson <rth@redhat.com>
810 * config/linux/alpha/futex.h: New file.
811 * configure.tgt (alpha*-*-linux*): Use it.
813 * config/posix/mutex.c: New file.
814 * config/posix/sem.c: Use libgomp.h.
816 * configure.tgt (x86_64-linux): Also test CC for -m32.
817 * config/linux/x86_64/futex.h (futex_wait): Fix r10 usage.
819 * testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add /
822 * Makefile.am (SUBDIRS): New.
823 (libgomp_la_LDFLAGS): Add -lpthread.
824 * configure.ac (AM_INIT_AUTOMAKE): Enable dependencies.
825 * Makefile.in, aclocal.m4, config.h.in, configure: Rebuild.
827 * libgomp_g.h: New file.
828 * libgomp.h: Split out all public declarations to libgomp_g.h.
829 Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN.
830 * config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN.
831 * config/linux/sem.h: Likewise.
832 * config/posix/sem.h: Likewise.
834 * Makefile.am (AM_LDFLAGS): New.
835 (libgomp_version_script): Split out from ...
836 (libgomp_la_LDFLAGS): ... here.
837 (libgomp_version_info): New.
838 * acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE.
839 (LIBGOMP_ENABLE): New.
840 (LIBGOMP_CHECK_LINKER_FEATURES): New.
841 (LIBGOMP_ENABLE_SYMVERS): New.
842 * configure.ac (AC_INIT): Version 1.0.
843 (enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE.
844 (enable-linux-futex): Likewise. Rename from enable-futex.
845 (libtool_VERSION): New.
846 (LIBGOMP_ENABLE_SYMVERS): Use it.
847 * configure.tgt: Check with_gnu_ld wrt have_tls optimizations.
848 * Makefile.in, aclocal.m4, configure: Rebuild.
850 * config/linux/mutex.c: Include libgomp.h instead of mutex.h.
851 (gomp_mutex_unlock_slow): Fix typo.
852 * config/linux/sem.c: Similarly.
853 (gomp_sem_post_slow): Fix typo.
854 * config/linux/sem.h (gomp_sem_post_slow): Fix typo.
855 * config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code.
856 [__PIC__] (sys_futex0): Don't use tmp output in asm.
858 * Makefile.am (AM_CFLAGS): Expand with XCFLAGS.
859 (libgomp_la_LDFLAGS): Add top_srcdir to path.
860 * acinclude.m4: Copy libtool.m4 stuff from libgfortran.
861 * configure.ac: Check for getloadavg. Substitute XCFLAGS and
862 XLDFLAGS. Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS.
863 * configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and
864 LDFLAGS. Pull enable_futex check to top-level.
865 * libgomp.h: Fix sem.h and mutex.h includes. Define ATTRIBUTE_HIDDEN.
866 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
868 First attempt at real configury.
869 * Makefile, config.h: Remove file.
870 * Makefile.am, Makefile.in: New file.
871 * acinclude.m4 aclocal.m4: New file.
872 * configure.ac, configure.tgt, configure: New file.
874 * config/posix/lock.c: Rename from sys-lock.c.
875 * config/posix/mutex.h: Rename from sys-mutex.h.
876 * config/posix/sem.c: Rename from sys-sem.c.
877 * config/posix/sem.h: Rename from sys-sem.h.
878 * config/posix/proc.c: Rename from sys-proc.c.
879 * config/posix/time.c: Rename from sys-proc.c.
881 * config/linux/mutex.c: New file.
882 * config/linux/mutex.h: New file.
883 * config/linux/sem.c: New file.
884 * config/linux/sem.h: New file.
885 * config/linux/i486/futex.h: New file.
886 * config/linux/x86_64/futex.h: New file.
888 2005-05-04 Richard Henderson <rth@redhat.com>
890 * iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New.
891 * libgomp.h: Declare them.
892 * loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start,
893 gomp_loop_dynamic_next, gomp_loop_guided_next): Use them.
895 2005-05-04 Richard Henderson <rth@redhat.com>
897 * libgomp-1 code drop
899 2005-05-04 Richard Henderson <rth@redhat.com>
901 * iter.c (gomp_iter_static_next): Return tri-state on 0.
902 * ordered.c (gomp_ordered_static_next): Remove not_last argument.
903 * libgomp.h (struct gomp_team_state): Make static_trip unsigned.
904 (gomp_iter_static_next): Update.
905 (gomp_ordered_static_next): Update.
906 * loop.c (gomp_loop_static_start): Update for gomp_iter_static_next.
907 (gomp_loop_ordered_static_start): Likewise. Exit early for a
909 (gomp_loop_ordered_static_next): Refine test for calling
910 gomp_ordered_static_next.
911 * testsuite/ordered-1.c: Add case for more threads than iterations.
913 * iter.c (gomp_iter_runtime_next_locked): Remove.
914 * loop.c (gomp_loop_static_start, gomp_loop_dynamic_start,
915 gomp_loop_guided_start, gomp_loop_ordered_static_start,
916 gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start,
917 gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next,
918 gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next,
919 gomp_loop_ordered_guided_next): Downcase name, make static, add
920 an external alias with the old name.
921 (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start,
922 GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a
923 switch and call one of the above static functions.
926 * work.c (gomp_work_share_start): Lock the mutex for !first too.
927 * loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start,
928 GOMP_loop_guided_start, GOMP_loop_runtime_start,
929 GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
930 GOMP_loop_ordered_guided_start): Update to match.
931 * sections.c (GOMP_sections_start): Likewise.
932 * single.c (GOMP_single_start, GOMP_single_copy_start): Likewise.
934 * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
935 gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//.
936 Use bounds check instead of modulus.
937 (gomp_ordered_sync): Split out of GOMP_ordered_start.
938 (gomp_ordered_last): Don't sync with ordered_owner here.
939 (gomp_ordered_next): Likewise.
940 (gomp_ordered_static_loop_next): Likewise.
941 * loop.c, libgomp.h: Update to match.
943 * libgomp.h (GOMP_barrier): Declare.
945 * testsuite/barrier-1.c: New file.
946 * testsuite/critical-1.c: New file.
947 * testsuite/ordered-2.c: New file.
948 * testsuite/ordered-1.c: New file.
949 * testsuite/sections-1.c: New file.
950 * testsuite/single-1.c: New file.
951 * testsuite/Makefile (TESTS): Add them.
953 2005-05-04 Richard Henderson <rth@redhat.com>
955 * libgomp.h (struct gomp_work_share): Add ordered_owner.
956 * loop.c (GOMP_loop_static_start): If not the startup thread,
957 acquire the mutex to wait for initialization complete.
958 (GOMP_loop_ordered_static_start): Likewise.
959 (GOMP_loop_ordered_runtime_start): Likewise.
960 (GOMP_loop_ordered_static_first): Remove.
961 (GOMP_loop_ordered_dynamic_first): Remove.
962 (GOMP_loop_ordered_guided_first): Remove.
963 (GOMP_loop_ordered_runtime_first): Remove.
964 * ordered.c (gomp_ordered_loop_first): Post to own release when
965 we're the first thread.
966 (gomp_ordered_loop_last): Wait on release if not owner.
967 (gomp_ordered_loop_next): Likewise.
968 (gomp_ordered_static_loop_init): New.
969 (gomp_ordered_static_loop_next): Use ordered_owner.
970 (GOMP_ordered_start): Likewise.
971 * work.c (gomp_new_work_share): Initialize ordered_owner.
973 2005-05-03 Richard Henderson <rth@redhat.com>
975 * Makefile (OPT): New.
978 * loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New.
979 * sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New.
980 * libgomp.h, libgomp.map, NOTES: Update to match.
982 * team.c (struct gomp_thread_start_data): Remove ts, fn, data.
983 Add initialized and thr members.
984 (gomp_thread_start): Pause when initially spawned to wait for
985 the whole team to be created.
986 (gomp_team_start): Release team members at the end.
988 * testsuite/loop-1.c (N): New. Use it instead of hardcoded 100.
989 (f_foo_1): Use GOMP_loop_end.
990 (f_foo_2): Use GOMP_loop_end_nowait.
992 * testsuite/loop-2.c: New file.
993 * testsuite/Makefile (TESTS): Add it.
995 2005-05-03 Richard Henderson <rth@redhat.com>
997 * iter.c (gomp_iter_static_next): Fix overflow check typo.
998 (gomp_iter_dynamic_next_locked): Fix overflow check thinko.
999 * team.c (new_team): Initialize oldest_live_gen to 1 if no
1002 * testsuite/Makefile: New file.
1003 * testsuite/loop-1.c: New file.
1005 2005-05-03 Richard Henderson <rth@redhat.com>
1007 Initial implementation and checkin.