OSDN Git Service

PR libgomp/26308
[pf3gnuchains/gcc-fork.git] / libgomp / ChangeLog
1 2007-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2
3         PR libgomp/26308
4         * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
5
6 2007-06-21  Jakub Jelinek  <jakub@redhat.com>
7
8         PR middle-end/32362
9         * testsuite/libgomp.c/pr32362-1.c: New test.
10         * testsuite/libgomp.c/pr32362-2.c: New test.
11         * testsuite/libgomp.c/pr32362-3.c: New test.
12
13 2007-06-07  Jakub Jelinek  <jakub@redhat.com>
14
15         * team.c (gomp_team_start): Fix setting up thread_attr
16         stack size.
17
18 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
19
20         * configure: Regenerate.
21
22 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
23
24         * Makefile.in: Regenerate.
25         * configure: Regenerate.
26         * aclocal.m4: Regenerate.
27         * testsuite/Makefile.in: Regenerate.
28
29 2007-05-04  Jakub Jelinek  <jakub@redhat.com>
30
31         * config/linux/proc.c: New file.
32
33         PR libgomp/28482
34         * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.
35
36 2007-04-19  Daniel Franke  <franke.daniel@gmail.com>
37
38         * libgomp.texi (GOMP_CPU_AFFINITY): Updated.
39
40 2007-04-16  Matthias Klose  <doko@debian.org>
41
42         * configure.tgt (i[456]86-*-linux*): Only add ia32 specific
43         flags if not building with -m64.
44         * testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march
45         flag for i?86-*-* targets, if current target matches -m64.
46
47 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
48
49         * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
50         * Makefile.in: Regenerate.
51
52 2007-04-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
53
54         PR testsuite/31369
55         * testsuite/libgomp.c++/c++.exp: Don't use concat when setting
56         ld_library_path.
57         * testsuite/libgomp.fortran/fortran.exp: Likewise.
58
59 2007-04-04  Jakub Jelinek  <jakub@redhat.com>
60
61         * libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New extern
62         decls.
63         (gomp_init_affinity, gomp_init_thread_affinity): New prototypes.
64         * env.c (gomp_cpu_affinity, gomp_cpu_affinity_len): New variables.
65         (parse_affinity): New function.
66         (initialize_env): Call it and gomp_init_affinity.
67         * team.c (gomp_team_start): If gomp_cpu_affinity != NULL,
68         create new pthread_attr_t and call gomp_init_thread_affinity
69         on it for each thread before passing the attribute to pthread_create.
70         * config/linux/affinity.c: New file.
71         * config/posix/affinity.c: New file.
72         * configure.ac (HAVE_PTHREAD_AFFINITY_NP): New test.
73         * configure: Rebuilt.
74         * config.h.in: Rebuilt.
75         * Makefile.am (libgomp_la_SOURCES): Add affinity.c.
76         * Makefile.in: Rebuilt.
77
78 2007-03-23  Andreas Tobler  <a.tobler@schweiz.org>
79
80         * testsuite/lib/libgomp.exp (libgomp_init): Add -shared-libgcc for
81         *-*-darwin*.
82         * testsuite/libgomp.c++/c++.exp: Look for shared libstdc++ library
83         and use it if found.
84
85 2007-03-18  Uros Bizjak  <ubizjak@gmail.com>
86
87         * testsuite/config/default.exp: New file.
88         * testsuite/lib/libgomp.exp: New file.
89         * testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init,
90         libgomp_target_compile, libgomp_option_help, libgomp_option_proc,
91         load_lib *, load_gcc_lib *): Move to libgomp.exp.
92         (libgomp_load): Remove.
93         * testsuite/lib/libgomp.exp (libgomp_init): Compute
94         always_ld_library_path, not ld_library_path.  Set additional_flags
95         to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets.
96         (target_compile): Do not call libgomp_init.  Append lang_library_path
97         and lang_link_flags to options.
98         * testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2.  Set
99         ld_library_path from always_ld_library_path.  Set LD_LIBRARY_PATH
100         here.
101         * testsuite/libgomp.c++/c++.exp: Set ld_library_path from
102         always_ld_library_path.  Set LD_LIBRARY_PATH here.
103         * testsuite/libgomp.fortran/fortran.exp: Ditto.
104         * testsuite/libgomp.c/atomic-1.c: Set dg-options to
105         "-O2 -march=pentium" for ilp32 x86 targets. Simplify check for
106         CX8 flag.
107         * testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for
108         lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3.
109         * testsuite/libgomp.c/pr29947-1.c: Remove default dg-options.
110         * testsuite/libgomp.c/pr29947-1.c: Ditto.
111         * testsuite/libgomp.c/atomic-10.c: Ditto.
112
113 2007-03-21  Jakub Jelinek  <jakub@redhat.com>
114
115         * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add
116         dg-final cleanup-modules line.
117         * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise.
118         * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise.
119         * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise.
120         * testsuite/libgomp.fortran/threadprivate2.f90: Likewise.
121         * testsuite/libgomp.fortran/reduction5.f90: Likewise.
122         * testsuite/libgomp.fortran/threadprivate3.f90: Likewise.
123         * testsuite/libgomp.fortran/threadprivate1.f90: Likewise.
124
125 2007-03-18  Andreas Schwab  <schwab@suse.de>
126
127         * acinclude.m4: Adjust regular expression for ld version
128         extraction.
129         * configure: Regenerate.
130
131 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
132
133         * Makefile.am: Add install-pdf target as copied from
134         automake v1.10 rules.
135         * Makefile.in: Regenerate
136
137 2007-02-07  Jakub Jelinek  <jakub@redhat.com>
138
139         PR libgomp/28486
140         * configure: Regenerate.
141
142         PR c++/30703
143         * testsuite/libgomp.c++/pr30703.C: New test.
144
145 2007-02-02  Jakub Jelinek  <jakub@redhat.com>
146
147         Revert:
148         2006-07-05  Eric Christopher  <echristo@apple.com>
149         * configure.ac: Depend addition of -pthread on host OS.
150         * configure: Regenerate.
151
152 2007-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
153
154         * libgomp.texi: Fix spacing after abbreviations.
155
156 2007-01-31  Daniel Franke <franke.daniel@gmail.com>
157
158         PR libgomp/30546
159         * configure.ac: Add check for makeinfo
160         * Makefile.am: Redefined target libgomp.info, build libgomp.info only
161         if an appropiate version of makeinfo is found.
162         * aclocal.m4: Regenerated.
163         * configure: Regenerated.
164         * Makefile.in: Regenerated.
165         * testsuite/Makefile.in: Regenerated.
166
167 2007-01-29  Daniel Franke <franke.daniel@gmail.com>
168
169         PR libgomp/30540
170         * libgomp.texi: More about implementation-dependent settings.
171
172 2007-01-26  Tobias Burnus  <burnus@net-b.de>
173
174         * testsuite/libgomp.fortran/fortran.exp: Support .f03 extension.
175
176 2007-01-24  Jakub Jelinek  <jakub@redhat.com>
177
178         PR middle-end/30494
179         * testsuite/libgomp.c/pr30494.c: New test.
180
181 2007-01-15  Tom Tromey  <tromey@redhat.com>
182
183         * configure: Rebuilt.
184         * configure.ac: Fixed comment.
185
186 2007-01-14  Daniel Franke  <franke.daniel@gmail.com>
187
188         * libgomp.texi: Document implementation specific default values of
189         environment variables.
190
191 2006-12-21  Daniel Franke  <franke.daniel@gmail.com>
192
193         PR libgomp/28209
194         * libgomp.texi: New file.
195         * configure.ac: Add --enable-generated-files-in-srcdir option.
196         * Makefile.am: Add info, dvi, pdf, html targets. On request, copy
197         files to srcdir.
198         * Makefile.in: Regenerated.
199         * config.h.in: Regenerated.
200         * testsuite/Makefile.in: Regenerated.
201         * NOTES: Removed.
202
203 2006-12-04  Daniel Franke  <franke.daniel@gmail.com>
204
205         PR libgomp/29949
206         * env.c (omp_set_num_threads): Set illegal thread count to 1.
207
208 2006-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
209
210         * configure: Regenerate.
211
212 2006-12-04  Jakub Jelinek  <jakub@redhat.com>
213
214         PR libgomp/29947
215         * loop.c (gomp_loop_init): Make parameters signed.  Set ws->end to
216         start if there shouldn't be any loop iterations.
217         (gomp_loop_ordered_static_start): Remove start == end test.
218         * testsuite/libgomp.c/pr29947-1.c: New test.
219         * testsuite/libgomp.c/pr29947-2.c: New test.
220
221 2006-12-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
222
223         * configure.tgt: Force initial-exec TLS model on Linux only.
224
225 2006-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
226
227         * configure: Regenerated.
228
229 2006-11-09  Uros Bizjak  <ubizjak@gmail.com>
230
231         * env.c (parse_schedule): Reject out of range values.
232         (parse_unsigned_long): Reject out of range, negative or zero values.
233
234 2006-10-29  Jakub Jelinek  <jakub@redhat.com>
235
236         PR fortran/29629
237         * testsuite/libgomp.fortran/pr29629.f90: New test.
238
239 2006-10-24  Eric Botcazou  <ebotcazou@libertysurf.fr>
240
241         PR libgomp/29494
242         * configure.tgt: Use posix95 configuration for Solaris 2.5.1 and 2.6.
243         * config/posix95: New directory.
244         * config/posix95/omp-lock.h: New file.
245         * config/posix95/lock.c: Likewise.
246
247 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
248
249         * aclocal.m4: Regenerate.
250         * configure: Regenerate.
251
252 2006-10-05  Danny Smith  <dannysmith@users.sourceforge.net>
253
254         * testsuite/libgomp.c/barrier-1.c: Change timestamp tests from
255         '<' to '<='.
256
257 2006-10-05  Danny Smith  <dannysmith@users.sourceforge.net>
258
259         * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from
260         test.
261         * configure: Regenerate.
262         * fortran.c  (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias.
263
264 2006-09-26  Jakub Jelinek  <jakub@redhat.com>
265
266         PR middle-end/25261
267         PR middle-end/28790
268         * testsuite/libgomp.c/nestedfn-4.c: New test.
269         * testsuite/libgomp.c/nestedfn-5.c: New test.
270         * testsuite/libgomp.fortran/nestedfn3.f90: New test.
271
272         PR fortran/29097
273         * testsuite/libgomp.fortran/condinc1.f: New test.
274         * testsuite/libgomp.fortran/condinc2.f: New test.
275         * testsuite/libgomp.fortran/condinc3.f90: New test.
276         * testsuite/libgomp.fortran/condinc4.f90: New test.
277         * testsuite/libgomp.fortran/condinc1.inc: New file.
278
279 2006-09-18  Tom Tromey  <tromey@redhat.com>
280
281         * configure: Rebuilt.
282
283 2006-09-13  Joseph S. Myers  <joseph@codesourcery.com>
284
285         PR c/28768
286         PR preprocessor/14634
287         * configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument
288         to AC_DEFINE.
289         * configure: Regenerate.
290
291 2006-09-08  Steven G. Kargl  <kargl@gcc.gnu.org>
292
293         * testsuite/libgomp.fortran/reduction3.f90: Change
294         -2147483648 to -huge(i)-1 to avoid overflow.
295         * testsuite/libgomp.fortran/reduction4.f90: Change
296         Z'ffffffff' to not(0) to avoid overflow.
297
298 2006-08-26  Joseph S. Myers  <joseph@codesourcery.com>
299
300         PR libgomp/25938
301         * Makefile.am (libsubincludedir): New.
302         (nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
303         * Makefile.in: Regenerate.
304
305 2006-08-17  Jakub Jelinek  <jakub@redhat.com>
306
307         PR libgomp/28725
308         * env.c: Include ctype.h.
309         (parse_schedule, parse_unsigned_long, parse_boolean): Allow
310         leading and/or trailing whitespace and compare strings case
311         insensitively.
312
313 2006-07-16  Jakub Jelinek  <jakub@redhat.com>
314
315         PR fortran/28390
316         * testsuite/libgomp.fortran/pr28390.f: New test.
317
318 2006-07-05  Eric Christopher  <echristo@apple.com>
319
320         * configure.ac: Depend addition of -pthread on host OS.
321         * configure: Regenerate.
322
323 2006-06-21  Jakub Jelinek  <jakub@redhat.com>
324
325         * critical.c (GOMP_critical_name_start): Fix *pptr initialization
326         when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is
327         defined.
328
329 2006-06-20  Jakub Jelinek  <jakub@redhat.com>
330
331         PR libgomp/26175
332         PR libgomp/26477
333         * configure.ac: If neither --enable-linux-futex nor
334         --disable-linux-futex is passed, determine the default by checking
335         for compiling and/or running against NPTL.  With --enable-linux-futex,
336         check if SYS_gettid and SYS_futex are defined.
337         * configure: Rebuilt.
338
339 2006-06-14  Richard Henderson  <rth@redhat.com>
340
341         PR libgomp/28008
342         * env.c (initialize_env): Avoid using PTHREAD_STACK_MIN when
343         undefined.  Use GOMP_STACKSIZE not OMP_STACKSIZE for environment.
344
345 2006-06-09  Richard Henderson  <rth@redhat.com>
346
347         * env.c (gomp_nthreads_var): Change to unsigned long.
348         (gomp_run_sched_chunk): Likewise.
349         (parse_unsigned_long): Rename from parse_num_threads and generalize.
350         (initialize_env): Initialize gomp_thread_attr.
351         * libgomp.h (gomp_nthreads_var): Update decl.
352         (gomp_run_sched_chunk): Likewise.
353         (gomp_thread_attr): Declare.
354         * team.c (gomp_thread_attr): Export.
355         (initialize_team): Don't initialize it.
356
357 2006-06-09  Jakub Jelinek  <jakub@redhat.com>
358
359         PR fortran/27916
360         * testsuite/libgomp.fortran/pr27916-1.f90: New test.
361         * testsuite/libgomp.fortran/pr27916-2.f90: New test.
362
363 2006-06-06  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
364
365         * config/mingw32/time.c: New file.
366         * configure.tgt: Use it.
367
368 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
369
370         * Makefile.am: Add install-html target. Add install-html to .PHONY
371         * Makefile.in: Regenerate.
372
373 2006-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
374
375         PR libgomp/27612
376         * testsuite/libgomp.c/sections-1.c: Require sync_int_long.
377         * testsuite/libgomp.c/critical-1.c: Likewise.
378         * testsuite/libgomp.c/loop-1.c: Likewise.
379         * testsuite/libgomp.c/loop-2.c: Likewise.
380         * testsuite/libgomp.c/single-1.c: Likewise.
381         * testsuite/libgomp.c/ordered-1.c: Likewise.
382         * testsuite/libgomp.c/ordered-2.c: Likewise.
383
384 2006-05-15  Jakub Jelinek  <jakub@redhat.com>
385
386         PR middle-end/27416
387         * libgomp.fortran/pr27416-1.f90: New test.
388
389 2006-05-03  Jakub Jelinek  <jakub@redhat.com>
390
391         PR fortran/27395
392         * testsuite/libgomp.fortran/pr27395-1.f90: New test.
393         * testsuite/libgomp.fortran/pr27395-2.f90: New test.
394
395 2006-05-02  Jakub Jelinek  <jakub@redhat.com>
396
397         PR c++/26943
398         * testsuite/libgomp.c/pr26943-1.c: New test.
399         * testsuite/libgomp.c/pr26943-2.c: New test.
400         * testsuite/libgomp.c/pr26943-3.c: New test.
401         * testsuite/libgomp.c/pr26943-4.c: New test.
402         * testsuite/libgomp.c++/pr27337.C: Remove barrier.
403         * testsuite/libgomp.c++/pr26943.C: New test.
404
405 2006-05-02  Jakub Jelinek  <jakub@redhat.com>
406
407         PR middle-end/27337
408         * testsuite/libgomp.c++/pr27337.C: New test.
409
410 2006-04-26  Jakub Jelinek  <jakub@redhat.com>
411
412         PR c/26171
413         * testsuite/libgomp.c/pr26171.c: New test.
414
415 2006-04-25  Richard Henderson  <rth@redhat.com>
416
417         PR libgomp/25865
418         * configure.ac: Use GCC_CHECK_TLS.
419         * acinclude.m4 (LIBGOMP_CHECK_TLS): Remove.
420         * Makefile.in, aclocal.m4, configure: Regenerate.
421
422 2006-04-10  Matthias Klose  <doko@debian.org>
423
424         * testsuite/lib/libgomp.exp (libgomp_init): Recognize multilib
425         directory names containing underscores.
426
427 2006-03-21  Jakub Jelinek  <jakub@redhat.com>
428
429         PR c++/26691
430         * testsuite/libgomp.c++/pr26691.C: New test.
431
432 2006-03-13  Jakub Jelinek  <jakub@redhat.com>
433
434         * testsuite/libgomp.fortran/retval2.f90: New test.
435
436 2006-03-09  Diego Novillo  <dnovillo@redhat.com>
437
438         * testsuite/libgomp.c++: New directory.
439
440 2006-02-25  Shantonu Sen  <ssen@opendarwin.org>
441
442         * config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions.
443         * config/posix/sem.c: Implement the above.
444
445 2006-02-25  Andreas Tobler  <a.tobler@schweiz.ch>
446
447         * configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and
448         define HAVE_BROKEN_POSIX_SEMAPHORES.
449         * configure: Rebuilt.
450         * config.h.in: Rebuilt.
451
452 2006-02-17  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
453
454         PR bootstrap/26161
455         * configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment
456         for the other pthread check.
457         * configure: Regenerate.
458         * config.h.in: Regenerate.
459
460 2006-02-15  Jakub Jelinek  <jakub@redhat.com>
461
462         PR libgomp/25938
463         PR libgomp/25984
464         * Makefile.am (fincludedir): New variable.
465         (nodist_include_HEADERS): Remove Fortran files.
466         (nodist_finclude_HEADERS): New variable.
467         * Makefile.in: Regenerated.
468
469 2006-02-13  Jakub Jelinek  <jakub@redhat.com>
470
471         * testsuite/libgomp.fortran/vla7.f90: Add -w to options.
472         Remove tests for returning assumed character length arrays.
473
474 2006-02-12  Roger Sayle  <roger@eyesopen.com>
475             John David Anglin  <dave@hiauly1.hia.nrc.ca>
476
477         PR libgomp/25936
478         * configure.tgt: Link against -lrt for sem_init on HPUX v11 systems.
479
480 2006-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
481
482         * testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library.
483
484 2006-02-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
485
486         * testsuite/lib/libgomp-dg.exp (libgomp_init): Compute multilib related
487         part of LD_LIBRARY_PATH manually.
488
489 2006-02-03  H.J. Lu  <hongjiu.lu@intel.com>
490
491         PR libgomp/25852
492         * testsuite/lib/libgomp-dg.exp (blddir): Set it in
493         libgomp_init.
494
495 2005-01-25  Paolo Bonzini  <bonzini@gnu.org>
496
497         PR libgomp/25884
498         * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove.
499         * configure.ac (PERL): Don't set.
500         (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here.
501         (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE,
502         OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions.
503         * omp.h.in: Wrap the new configure substitutions with @ characters.
504         * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise.
505         * aclocal.m4, configure, Makefile.in: Regenerate.
506         * mkomp_h.pl: Delete.
507
508 2005-01-24  Paolo Bonzini  <bonzini@gnu.org>
509
510         PR libgomp/25259
511         * configure.ac: Use GCC_HEADER_STDINT.
512         * libgomp.h: Include gstdint.h.
513         * libgomp_f.h.in: Don't include stdint.h or inttypes.h.
514         * configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild.
515
516 2006-01-24  Richard Henderson  <rth@redhat.com>
517
518         PR libgomp/25942
519         * configure.ac: Add AM_MAINTAINER_MODE.
520         * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild.
521
522 2006-01-24  Diego Novillo  <dnovillo@redhat.com>
523
524         * Makefile.in: Regenerate.
525         * testsuite/Makefile.in: Regenerate.
526         * aclocal.m4: Regenerate.
527
528 2006-01-23  Andreas Tobler  <a.tobler@schweiz.ch>
529
530         * config/posix/proc.c: Conditional include of sys/loadavg.h for
531         Solaris.
532         * configure.ac: Add check for loadavg.h.
533         (link_gomp): Adjust comment.
534         * configure: Regenerate.
535         * config.h.in: Regenerate.
536
537 2006-01-21  Steve Ellcey  <sje@cup.hp.com>
538
539         PR libgomp/25877
540         * configure.ac: Remove check for alloca.h.
541         * configure: Regenerate.
542         * config.h.in: Regenerate.
543         * libgomp.h: define gomp_alloca to be __builtin_alloca.
544         * team.c: Remove use of alloca.h.
545         Call gomp_alloca instead of alloca.
546
547 2006-01-20  Steve Ellcey  <sje@cup.hp.com>
548
549         PR libgomp/25877
550         * team.c: Add include of alloca.h.
551         * configure.ac: Add check for alloca.h.
552         * configure: Regenerate.
553         * config.h.in: Regenerate.
554
555 2006-01-17  Jakub Jelinek  <jakub@redhat.com>
556
557         PR fortran/25219
558         * testsuite/libgomp.fortran/pr25219.f90: New test.
559
560 2005-12-05  Uros Bizjak  <uros@kss-loka.si>
561
562         * testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c,
563         testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c,
564         testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
565         testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
566         testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C,
567         testsuite/libgomp.fortran/threadprivate1.f90,
568         testsuite/libgomp.fortran/threadprivate2.f90,
569         testsuite/libgomp.fortran/threadprivate3.f90,
570         testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
571         testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
572         testsuite/libgomp.fortran/omp_parse3.f90: Change required
573         effective-target to TLS runtime.
574
575         * testsuite/libgomp.fortran/pr25162.f: Require
576         effective-target TLS runtime.
577
578 2005-12-01  Jakub Jelinek  <jakub@redhat.com>
579
580         * testsuite/libgomp.fortran/nestedfn2.f90: New test.
581         * testsuite/libgomp.c/nestedfn-3.c: New test.
582
583 2005-11-30  Jakub Jelinek  <jakub@redhat.com>
584
585         PR fortran/25162
586         * testsuite/libgomp.fortran/pr25162.f: New test.
587
588 2005-11-28  Jakub Jelinek  <jakub@redhat.com>
589
590         * config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to
591         CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed.
592
593 2005-11-25  Jakub Jelinek  <jakub@redhat.com>
594
595         * alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c,
596         libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in,
597         omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c,
598         single.c, team.c, work.c, config/linux/alpha/futex.h,
599         config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h,
600         config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h,
601         config/linux/powerpc/futex.h, config/linux/s390/futex.h,
602         config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h,
603         config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h,
604         config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c,
605         config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update
606         FSF address.
607
608 2005-11-18  Jakub Jelinek  <jakub@redhat.com>
609
610         * Makefile.am: Move libgomp_f.h from nodist_include_HEADERS
611         to nodist_noinst_HEADERS.
612         * Makefile.in: Rebuilt.
613
614         * config/posix/omp-lock.h (omp_nest_lock_t): Change into struct,
615         add integer count field.
616         * config/posix/lock.c (omp_destroy_nest_lock): Adjust for
617         omp_nest_lock_t type change.
618         (omp_init_nest_lock): Likewise.  Initialize count to 0.
619         (omp_set_nest_lock): Adjust for omp_nest_lock_t type change.
620         Increment count.
621         (omp_unset_nest_lock): Adjust for omp_nest_lock_t type change.
622         Decrement count.
623         (omp_test_nest_lock): Adjust for omp_nest_lock_t type change.
624         Increment count if successful and return the new nesting level.
625         * config/linux/lock.c (omp_test_nest_lock): Return new nesting level.
626         * omp_lib.f90.in (omp_test_lock): Fix LOCK argument type.
627         * testsuite/libgomp.c/lib-1.c: New test.
628         * testsuite/libgomp.fortran/lib1.f90: New test.
629         * testsuite/libgomp.fortran/lib2.f: New test.
630         * testsuite/libgomp.fortran/lib3.f: New test.
631
632 2005-11-17  Richard Henderson  <rth@redhat.com>
633
634         PR 24845
635         * Makefile.am (nodist_toolexeclib_HEADERS): New.
636         * configure.ac (link_gomp): New.  Substitute it.
637         (AC_CONFIG_FILES): Add libgomp.spec.
638         * libgomp.spec.in: New file.
639         * Makefile.in, testsuite/Makefile.in, configure: Rebuild.
640         * testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags.
641
642 2005-11-18  Jakub Jelinek  <jakub@redhat.com>
643
644         * testsuite/libgomp.fortran/reduction1.f90: Adjust for
645         reduction(-:var) behaving the same as reduction(+:var).
646         * testsuite/libgomp.c/reduction-4.c: New test.
647
648 2005-11-15  Uros Bizjak  <uros@kss-loka.si>
649
650         * testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c,
651         testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c,
652         testsuite/libgomp.c/copyin-3.c,
653         testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
654         testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
655         testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C,
656         testsuite/libgomp.c++/pr24455.C,
657         testsuite/libgomp.fortran/threadprivate1.f90,
658         testsuite/libgomp.fortran/threadprivate2.f90,
659         testsuite/libgomp.fortran/threadprivate3.f90,
660         testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
661         testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
662         testsuite/libgomp.fortran/omp_parse3.f90: Require
663         effective-target TLS.
664
665 2005-11-14  Diego Novillo  <dnovillo@redhat.com>
666
667         * HEADER: Remove.
668
669 2005-11-13  Jakub Jelinek  <jakub@redhat.com>
670
671         PR libgomp/24797
672         * team.c (initialize_team): Pass NULL rather than free as
673         pthread_key_create destructor.  Initialize thread specific data
674         pointer in initial thread to a static local variable rather than
675         malloced memory.
676
677 2005-11-11  Uros Bizjak  <uros@kss-loka.si>
678
679         * testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append
680         its location to ld_library_path.
681
682 2005-11-10  Diego Novillo  <dnovillo@redhat.com>
683
684         * testsuite/libgomp.c/c.exp: Rename from dg.exp.
685
686 2005-11-10  Diego Novillo  <dnovillo@redhat.com>
687
688         * testsuite/libgomp.c: Rename from libgomp.dg.
689
690 2005-11-09  Diego Novillo  <dnovillo@redhat.com>
691
692         * testsuite/libgomp.c++/pr24455.C: Add copyin clause for
693         threadprivate variable 'i'.
694
695 2005-11-09  Jakub Jelinek  <jakub@redhat.com>
696
697         * config/linux/s390/futex.h: New file.
698         * configure.tgt: Use it.
699
700         * testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization
701         before the parallel.
702
703 2005-11-08  Jakub Jelinek  <jakub@redhat.com>
704
705         PR c++/24734
706         * testsuite/libgomp.c++/master-1.C: New test.
707
708 2005-11-07  Jakub Jelinek  <jakub@redhat.com>
709
710         * testsuite/libgomp.dg/copyin-3.c: New test.
711
712 2005-11-07  Jakub Jelinek  <jakub@redhat.com>
713
714         * testsuite/libgomp.fortran/retval1.f90: New test.
715         * testsuite/libgomp.fortran/vla7.f90: New test.
716
717 2005-11-06  Jakub Jelinek  <jakub@redhat.com>
718
719         * testsuite/libgomp.fortran/vla2.f90: New test.
720         * testsuite/libgomp.fortran/vla3.f90: New test.
721         * testsuite/libgomp.fortran/vla4.f90: New test.
722         * testsuite/libgomp.fortran/vla5.f90: New test.
723         * testsuite/libgomp.fortran/vla6.f90: New test.
724
725 2005-11-01  Jakub Jelinek  <jakub@redhat.com>
726
727         * config/linux/sparc/futex.h: New file.
728         * configure.tgt: Use it.
729         * testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing.
730
731         * critical.c: Include stdlib.h.
732         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about
733         ignoring return value.
734         * configure.ac: Don't put -Wc,-pthread into XCFLAGS until after
735         LIBGOMP_CHECK_SYNC_BUILTINS check.
736         * configure: Rebuilt.
737
738 2005-10-31  Jakub Jelinek  <jakub@redhat.com>
739
740         * testsuite/libgomp.fortran/vla1.f90: New test.
741
742 2005-10-31  Richard Henderson  <rth@redhat.com>
743
744         * testsuite/libgomp.fortran/character2.f90: Fix race condition
745         setting 's' in different threads.
746
747 2005-10-31  Jakub Jelinek  <jakub@redhat.com>
748
749         * libgomp.h (attribute_hidden, ialias): Define.
750         * config/posix/proc.c (omp_get_num_procs): Add ialias.
751         * config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise.
752         * config/posix/lock.c (omp_init_lock, omp_init_nest_lock,
753         omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
754         omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
755         omp_test_lock, omp_test_nest_lock): Likewise.
756         * config/linux/lock.c (omp_init_lock, omp_init_nest_lock,
757         omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
758         omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
759         omp_test_lock, omp_test_nest_lock): Likewise.
760         * env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads,
761         omp_get_dynamic, omp_get_nested): Likewise.
762         * parallel.c (omp_get_num_threads, omp_get_max_threads,
763         omp_get_thread_num, omp_in_parallel): Likewise.
764         * fortran.c (ialias_redirect): Define.
765         (omp_init_lock, omp_init_nest_lock, omp_destroy_lock,
766         omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock,
767         omp_unset_lock, omp_unset_nest_lock, omp_test_lock,
768         omp_test_nest_lock, omp_set_dynamic, omp_set_nested,
769         omp_set_num_threads, omp_get_dynamic, omp_get_nested,
770         omp_in_parallel, omp_get_max_threads, omp_get_num_procs,
771         omp_get_num_threads, omp_get_thread_num, omp_get_wtick,
772         omp_get_wtime): Add ialias_redirect.
773
774 2005-10-30  Jakub Jelinek  <jakub@redhat.com>
775
776         * fortran.c: Include stdlib.h.
777
778 2005-10-29  Jakub Jelinek  <jakub@redhat.com>
779
780         * Makefile.am (env.o, env.lo): Depend on libgomp_f.h.
781         * Makefile.in: Regenerated.
782
783 2005-10-28  Jakub Jelinek  <jakub@redhat.com>
784
785         * mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE.
786         * libgomp_f.h.in (omp_check_defines): New function.
787         * env.c: Include libgomp_f.h.
788         (initialize_env): Call omp_check_defines.
789
790         * testsuite/libgomp.dg/copyin-2.c: New test.
791         * testsuite/libgomp.c++/copyin-2.C: New test.
792         * testsuite/libgomp.fortran/threadprivate3.f90: New test.
793
794         * testsuite/libgomp.fortran/threadprivate2.f90: New test.
795         * testsuite/libgomp.fortran/sharing2.f90: New test.
796
797         * testsuite/libgomp.dg/copyin-1.c: New test.
798         * testsuite/libgomp.c++/copyin-1.C: New test.
799
800 2005-10-26  Jakub Jelinek  <jakub@redhat.com>
801
802         * testsuite/libgomp.fortran/crayptr1.f90: New test.
803
804         * testsuite/libgomp.fortran/workshare1.f90: New test.
805
806         * libgomp.fortran/appendix-a/a.28.5.f90: Change into compile
807         only test.
808         * libgomp.fortran/sharing1.f90: New test.
809
810 2005-10-24  Jakub Jelinek  <jakub@redhat.com>
811
812         PR c++/24502
813         * testsuite/libgomp.c++/loop-7.C: New test.
814
815         * testsuite/libgomp.dg/nestedfn-2.c: New test.
816
817         * testsuite/libgomp.dg/nestedfn-1.c: New test.
818         * testsuite/libgomp.fortran/reduction6.f90: New test.
819         * testsuite/libgomp.fortran/nestedfn1.f90: New test.
820
821 2005-10-23  Richard Henderson  <rth@redhat.com>
822
823         * testsuite/libgomp.c++/ctor-1.C: New.
824         * testsuite/libgomp.c++/ctor-2.C: New.
825         * testsuite/libgomp.c++/ctor-3.C: New.
826         * testsuite/libgomp.c++/ctor-4.C: New.
827         * testsuite/libgomp.c++/ctor-5.C: New.
828         * testsuite/libgomp.c++/ctor-6.C: New.
829         * testsuite/libgomp.c++/ctor-7.C: New.
830         * testsuite/libgomp.c++/ctor-8.C: New.
831         * testsuite/libgomp.c++/ctor-9.C: New.
832
833 2005-10-21  Diego Novillo  <dnovillo@redhat.com>
834
835         PR 24455
836         * testsuite/libgomp.c++/pr24455-1.C: New test.
837         * testsuite/libgomp.c++/pr24455.C: New test.
838         * testsuite/libgomp.dg/pr24455-1.c: New test.
839         * testsuite/libgomp.dg/pr24455.c: New test.
840
841 2005-10-20  Richard Henderson  <rth@redhat.com>
842
843         * testsuite/libgomp.c++/loop-6.C: New.
844         * testsuite/libgomp.dg/loop-3.c: New.
845
846 2005-10-20  Jakub Jelinek  <jakub@redhat.com>
847
848         * testsuite/libgomp.fortran/jacobi.f: Don't make i and j
849         explicitly private.
850         * testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i
851         explicitly shared.
852
853 2005-10-19  Diego Novillo  <dnovillo@redhat.com>
854
855         * testsuite/libgomp.fortran/jacobi.f: New test.
856
857 2005-10-19  Richard Henderson  <rth@redhat.com>
858
859         * configure.tgt (i?86-linux): Default to with_arch instead of
860         CFLAGS.  Add -mtune to match target_cpu.
861         (x86_64-linux): Tune to i686.
862
863         * fortran.c (omp_test_nest_lock_): Fix typo.
864
865 2005-10-19  Jakub Jelinek  <jakub@redhat.com>
866
867         * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
868         gomp_ordered_sync): Do nothing if team->nthreads == 1.
869         * testsuite/libgomp.dg/ordered-3.c: New test.
870
871         * testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort.
872         Remove volatile keyword.
873
874         * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables
875         in COMMON block to avoid warnings on 64-bit targets.
876
877 2005-10-18  Diego Novillo  <dnovillo@redhat.com>
878
879         * testsuite/libgomp.dg/shared-3.c: New test.
880
881 2005-10-18  Jakub Jelinek  <jakub@redhat.com>
882
883         * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed.
884         * testsuite/libgomp.fortran/reduction5.f90: New test.
885
886 2005-10-18  Jakub Jelinek  <jakub@redhat.com>
887
888         * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to
889         dg-options.
890         * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise.  Enable
891         flush loop now that __sync_synchronize has proper memory barrier.
892         * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo.
893         Add -ffixed-form to dg-options.
894
895 2005-10-17  Diego Novillo  <dnovillo@redhat.com>
896
897         * testsuite/libgomp.fortran/fortran.exp: Also gather tests
898         from subdirectories.
899         * testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test.
900         * testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test.
901         * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test.
902         * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test.
903         * testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test.
904         * testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test.
905         * testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test.
906         * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test.
907         * testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test.
908         * testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test.
909         * testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test.
910         * testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test.
911         * testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test.
912         * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test.
913         * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test.
914         * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test.
915         * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test.
916         * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test.
917         * testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test.
918         * testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test.
919         * testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test.
920         * testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test.
921         * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test.
922         * testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test.
923         * testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test.
924
925 2005-10-17  Jakub Jelinek  <jakub@redhat.com>
926
927         * testsuite/libgomp.dg/dg.exp: Only unset lang_* if
928         lang_library_path exists.  Use find instead of glob to gather tests.
929         * testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed.
930
931 2005-10-17  Diego Novillo  <dnovillo@redhat.com>
932
933         * testsuite/libgomp.dg/appendix-a/a.15.1.c: New test.
934         * testsuite/libgomp.dg/appendix-a/a.16.1.c: New test.
935         * testsuite/libgomp.dg/appendix-a/a.18.1.c: New test.
936         * testsuite/libgomp.dg/appendix-a/a.19.1.c: New test.
937         * testsuite/libgomp.dg/appendix-a/a.2.1.c: New test.
938         * testsuite/libgomp.dg/appendix-a/a.21.1.c: New test.
939         * testsuite/libgomp.dg/appendix-a/a.26.1.c: New test.
940         * testsuite/libgomp.dg/appendix-a/a.29.1.c: New test.
941         * testsuite/libgomp.dg/appendix-a/a.3.1.c: New test.
942         * testsuite/libgomp.dg/appendix-a/a.39.1.c: New test.
943         * testsuite/libgomp.dg/appendix-a/a.4.1.c: New test.
944         * testsuite/libgomp.dg/appendix-a/a.5.1.c: New test.
945         * testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file.
946
947 2005-10-15  Jakub Jelinek  <jakub@redhat.com>
948
949         * testsuite/libgomp.dg/vla-1.c: New test.
950
951         * testsuite/libgomp.fortran/reference2.f90: New test.
952
953         * testsuite/libgomp.fortran/character2.f90: Remove explicit
954         declaration of omp_get_thread_num.
955         * testsuite/libgomp.fortran/threadprivate1.f90: Likewise.  Add
956         use omp_lib.
957
958         * testsuite/libgomp.fortran/reduction1.f90: New test.
959         * testsuite/libgomp.fortran/reduction2.f90: New test.
960         * testsuite/libgomp.fortran/reduction3.f90: New test.
961         * testsuite/libgomp.fortran/reduction4.f90: New test.
962
963 2005-10-13  Richard Henderson  <rth@redhat.com>
964
965         * Makefile.am (libgomp_la_SOURCES): Add bar.c.
966         * Makefile.in: Regenerate.
967         * barrier.c (GOMP_barrier): Use gomp_barrier_wait.
968         * libgomp.h: Include bar.h.
969         (struct gomp_barrier): Remove.
970         (struct gomp_team): Add barrier.  Replace master_barrier with
971         master_release.  Replace threads with ordered_release.
972         (struct gomp_thread): Replace barrier with release.
973         * ordered.c (gomp_ordered_first): Update for ordered_release change.
974         (gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init,
975         gomp_ordered_static_next, gomp_ordered_sync): Likewise.
976         * single.c (GOMP_single_copy_start): Use gomp_barrier_wait.
977         (GOMP_single_copy_end): Likewise.
978         * team.c (gomp_threads_dock): New.
979         (gomp_barrier_init, gomp_barrier_destroy): Remove.
980         (gomp_thread_start): Use gomp_barrier_wait.
981         (new_team, free_team): Update for gomp_team changes.
982         (gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit.
983         (gomp_team_end): Use gomp_barrier_wait.
984         (initialize_team): Update for gomp_thread changes.
985         * work.c (gomp_work_share_end): Use gomp_barrier_wait_start.
986         (gomp_work_share_end_nowait): Use atomic ops when available.
987         * config/linux/bar.c, config/linux/bar.h: New files.
988         * config/posix/bar.c, config/posix/bar.h: New files.
989
990 2005-10-13  Jakub Jelinek  <jakub@redhat.com>
991
992         * single.c (GOMP_single_copy_end): Don't segfault if team is NULL.
993         * testsuite/libgomp.dg/single-2.c: New test.
994
995         * testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file,
996         lang_link_flags): Unset, so that they aren't inherited from previously
997         sourced *.exp.
998
999         * testsuite/libgomp.fortran/threadprivate1.f90: New test.
1000
1001 2005-10-12  Richard Henderson  <rth@redhat.com>
1002
1003         * testsuite/lib/libgomp-dg.exp: Set blddir at toplevel.
1004         (libgomp_init): Use lang_test_file, lang_library_path, and
1005         lang_link_flags, set by the subdirectory files.  Add -fopenmp here.
1006
1007         * testsuite/libgomp.fortran/fortran.exp (lang_library_path): New.
1008         (lang_test_file, lang_link_flags): New.
1009         (DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove.
1010
1011         * testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C,
1012         testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C,
1013         testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C,
1014         testsuite/libgomp.c++/parallel-1.C,
1015         testsuite/libgomp.c++/reduction-1.C,
1016         testsuite/libgomp.c++/reduction-2.C,
1017         testsuite/libgomp.c++/reduction-3.C,
1018         testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C,
1019         testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C,
1020         testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C:
1021         New files, largely cribbed from the C testsuite.
1022
1023 2005-10-12  Jakub Jelinek  <jakub@redhat.com>
1024
1025         * testsuite/libgomp.fortran/character1.f90: New test.
1026         * testsuite/libgomp.fortran/character2.f90: New test.
1027
1028         * testsuite/libgomp.dg/nested-1.c: New test.
1029         * testsuite/libgomp.dg/nested-2.c: New test.
1030         * testsuite/libgomp.fortran/do1.f90: New test.
1031         * testsuite/libgomp.fortran/do2.f90: New test.
1032
1033         * testsuite/libgomp.fortran/reference1.f90: New test.
1034
1035 2005-10-11  Jakub Jelinek  <jakub@redhat.com>
1036
1037         * testsuite/libgomp.dg/reduction-1.c: New test.
1038         * testsuite/libgomp.dg/reduction-2.c: New test.
1039         * testsuite/libgomp.dg/reduction-3.c: New test.
1040
1041 2005-10-10  Jakub Jelinek  <jakub@redhat.com>
1042
1043         * testsuite/libgomp.dg/atomic-1.c: New test.
1044         * testsuite/libgomp.dg/atomic-2.c: New test.
1045
1046 2005-10-09  Richard Henderson  <rth@redhat.com>
1047
1048         * critical.c (atomic_lock): New.
1049         (initialize_critical): Initialize it.
1050         (GOMP_atomic_start, GOMP_atomic_end): New.
1051         * libgomp.map: Export them.
1052         * libgomp_g.h: Declare them.
1053
1054         * testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite.
1055
1056 2005-10-02  Richard Henderson  <rth@redhat.com>
1057
1058         * configure.ac: Move save_CFLAGS hack earlier.  Append -Wall/-Werror
1059         to XCFLAGS instead of CFLAGS.
1060
1061 2005-09-30  Richard Henderson  <rth@redhat.com>
1062
1063         * configure.ac: Determine whether -pthread or -lpthread is needed.
1064         * Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread.
1065         * Makefine.in, configure: Rebuild.
1066
1067 2005-09-28  Richard Henderson  <rth@redhat.com>
1068
1069         * testsuite/libgomp.dg/omp-loop03.c: Fix return code.
1070         * testsuite/libgomp.dg/omp-single-3.c: New test.
1071
1072 2005-09-28  Diego Novillo  <dnovillo@redhat.com>
1073
1074         * testsuite/libgomp.dg/omp-single-2.c: New test.
1075         * testsuite/libgomp.dg/shared-2.c: Fix return code.
1076
1077 2005-09-27  Richard Henderson  <rth@redhat.com>
1078
1079         * testsuite/libgomp.dg/omp-loop03.c: Add initial barrier.
1080         * testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule.
1081
1082 2005-09-27  Jakub Jelinek  <jakub@redhat.com>
1083
1084         * testsuite/libgomp.dg/omp-loop03.c: New test.
1085
1086 2005-09-27  Diego Novillo  <dnovillo@redhat.com>
1087
1088         * testsuite/libgomp.dg/omp-parallel-for.c: New test.
1089
1090 2005-09-27  Diego Novillo  <dnovillo@redhat.com>
1091
1092         * testsuite/libgomp.dg/omp-single-1.c: New test.
1093         * testsuite/libgomp.dg/shared-1.c: Return 0.
1094         Add prototype for abort.
1095         * testsuite/libgomp.dg/shared-2.c: Likewise.
1096
1097 2005-09-26  Jakub Jelinek  <jakub@redhat.com>
1098
1099         * testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming
1100         constructs.
1101
1102 2005-09-26  Diego Novillo  <dnovillo@redhat.com>
1103
1104         * testsuite/libgomp.dg/shared-1.c: New test.
1105         * testsuite/libgomp.dg/shared-2.c: New test.
1106
1107 2005-09-24  Richard Henderson  <rth@redhat.com>
1108
1109         * testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error.
1110
1111 2005-09-24  Richard Henderson  <rth@redhat.com>
1112
1113         * iter.c (gomp_iter_static_next): Round up when computing number
1114         of iterations.  Don't bother distributing a remainder equally.
1115
1116         * testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main.
1117         Don't call srand.  Zero b before testing.
1118         (main): New.
1119
1120 2005-09-24  Jakub Jelinek  <jakub@redhat.com>
1121
1122         * testsuite/libgomp.fortran/omp_atomic1.f90: New test.
1123         * testsuite/libgomp.fortran/omp_atomic2.f90: New test.
1124
1125 2005-09-23  Jakub Jelinek  <jakub@redhat.com>
1126
1127         * testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do
1128         without !$omp end do, followed immediately by subroutine end.
1129
1130 2005-09-23  Diego Novillo  <dnovillo@redhat.com>
1131
1132         * testsuite/libgomp.dg/omp-parallel-if.c: New test.
1133
1134 2005-09-22  Richard Henderson  <rth@redhat.com>
1135
1136         * critical.c (GOMP_critical_name_start): Change argument to void**.
1137         Reuse the pointer space if the mutex fits.
1138         (GOMP_critical_name_end): Likewise.
1139         (initialize_critical): Don't define if GOMP_MUTEX_INIT_0.
1140         * libgomp_g.h (GOMP_critical_name_start): Update decl.
1141         (GOMP_critical_name_end): Likewise.
1142         * config/linux/mutex.h (GOMP_MUTEX_INIT_0): New.
1143         * config/posix/mutex.h (GOMP_MUTEX_INIT_0): New.
1144
1145 2005-09-20  Richard Henderson  <rth@redhat.com>
1146
1147         * critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New.
1148         (create_lock_lock): New.
1149         (initialize_critical): Initialize it.
1150         * libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New.
1151         * libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare.
1152
1153 2005-09-20  Diego Novillo  <dnovillo@redhat.com>
1154
1155         * testsuite/libgom.dg/omp-loop01.c: Include stdio.h.
1156
1157 2005-09-20  Diego Novillo  <dnovillo@redhat.com>
1158
1159         * testsuite/libgomp.dg/omp-loop01.c: New test.
1160         * testsuite/libgomp.dg/omp-loop02.c: New test.
1161
1162 2005-09-20  Jakub Jelinek  <jakub@redhat.com>
1163
1164         * configure.ac (AC_PROG_FC): Add.
1165         (USE_FORTRAN): New automake conditional.
1166         * configure: Rebuilt.
1167         * Makefile.am (libgomp_la_SOURCES): Add fortran.c.
1168         (nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h.
1169         If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod.
1170         Add rules to build them.
1171         * Makefile.in: Rebuilt.
1172         * mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and
1173         OMP_NEST_LOCK_KIND.
1174         * libgomp.map: Add Fortran wrappers.
1175         * libgomp_f.h.in: New file.
1176         * omp_lib.h.in: New file.
1177         * omp_lib.f90.in: New file.
1178         * fortran.c: New file.
1179         * testsuite/lib/libgomp-dg.exp: Load a few more .exp files.
1180         Append libgfortran directory to LD_LIBRARY_PATH if it exists.
1181         Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if
1182         libgfortran has been built.
1183         * testsuite/libgomp.fortran/fortran.exp: New file.
1184         * testsuite/libgomp.fortran/omp_cond1.f: New test.
1185         * testsuite/libgomp.fortran/omp_cond2.f: New test.
1186         * testsuite/libgomp.fortran/omp_cond3.F90: New test.
1187         * testsuite/libgomp.fortran/omp_cond4.F90: New test.
1188         * testsuite/libgomp.fortran/omp_hello.f: New test.
1189         * testsuite/libgomp.fortran/omp_orphan.f: New test.
1190         * testsuite/libgomp.fortran/omp_parse1.f90: New test.
1191         * testsuite/libgomp.fortran/omp_parse2.f90: New test.
1192         * testsuite/libgomp.fortran/omp_parse3.f90: New test.
1193         * testsuite/libgomp.fortran/omp_parse4.f90: New test.
1194         * testsuite/libgomp.fortran/omp_reduction.f: New test.
1195         * testsuite/libgomp.fortran/omp_workshare1.f: New test.
1196         * testsuite/libgomp.fortran/omp_workshare2.f: New test.
1197
1198 2005-08-30  Richard Henderson  <rth@redhat.com>
1199
1200         * loop.c (GOMP_loop_static_start): Provide fallback wrapper
1201         function for when aliases are not usable.
1202         (GOMP_loop_dynamic_start, GOMP_loop_guided_start,
1203         GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
1204         GOMP_loop_ordered_guided_start, GOMP_loop_static_next,
1205         GOMP_loop_dynamic_next, GOMP_loop_guided_next,
1206         GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next,
1207         GOMP_loop_ordered_guided_next): Likewise.
1208         * ordered.c (GOMP_ordered_start): Likewise.
1209
1210 2005-08-01  Diego Novillo  <dnovillo@redhat.com>
1211
1212         * testsuite/libgomp.dg/dg.exp: Use -O2 for now.
1213         * testsuite/libgomp.dg/omp_hello.c: Fix return code
1214         * testsuite/libgomp.dg/omp_matvec.c: Likewise.
1215         * testsuite/libgomp.dg/omp_orphan.c: Likewise
1216         * testsuite/libgomp.dg/omp_reduction.c: Likewise
1217         * testsuite/libgomp.dg/omp_workshare1.c: Likewise
1218         * testsuite/libgomp.dg/omp_workshare2.c: Likewise
1219         * testsuite/libgomp.dg/omp_workshare3.c: Likewise
1220         * testsuite/libgomp.dg/omp_workshare4.c: Likewise
1221
1222 2005-07-07  Eric Christopher  <echristo@redhat.com>
1223             Diego Novillo  <dnovillo@redhat.com>
1224
1225         * testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS.
1226         * testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix
1227         up code.
1228         * testsuite/libgomp.dg/omp_matvec.c: Ditto.
1229         * testsuite/libgomp.dg/omp_orphan.c: Ditto.
1230         * testsuite/libgomp.dg/omp_reduction.c: Ditto.
1231         * testsuite/libgomp.dg/omp_workshare1.c: Ditto.
1232         * testsuite/libgomp.dg/omp_workshare2.c: Ditto.
1233         * testsuite/libgomp.dg/omp_workshare3.c: Ditto.
1234         * testsuite/libgomp.dg/omp_workshare4.c: Ditto.
1235
1236 2005-06-13  Diego Novillo  <dnovillo@redhat.com>
1237
1238         * TOPLEVEL.patch: Remove.
1239
1240 2005-05-16  Richard Henderson  <rth@redhat.com>
1241
1242         * configure.ac: Test for clock_gettime.
1243         * config.h.in, configure: Rebuild.
1244         * config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern.
1245         (omp_get_wtime): Use clock_gettime if available.
1246         (omp_get_wtick): Use clock_getres if available.
1247
1248 2005-05-11  Richard Henderson  <rth@redhat.com>
1249
1250         * config/linux/ia64/futex.h: New file.
1251         * configure.tgt: Use it.
1252
1253         * team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline.
1254
1255 2005-05-07  Richard Henderson  <rth@redhat.com>
1256
1257         * config/linux/powerpc/futex.h: New file.
1258         * configure.tgt: Use it.
1259
1260         * config/linux/i486/futex.h: Merge ...
1261         * config/linux/x86_64/futex.h: ... into ...
1262         * config/linux/x86/futex.h: ... here.
1263         * configure.tgt: Update to match.
1264
1265 2005-05-06  Richard Henderson  <rth@redhat.com>
1266
1267         * config/linux/alpha/futex.h: Conditionally define SYS_futex.
1268         * config/linux/i486/futex.h: Likewise.
1269         * config/linux/x86_64/futex.h: Likewise.
1270
1271         * config/linux/lock.c: New file.
1272         * config/linux/omp-lock.h: New file.
1273
1274         * critical.c, env.h: Don't include omp.h
1275         * config/posix/lock.c: Include libgomp.h instead of omp.h.
1276         * config/posix/time.c: Likewise.
1277         * config/posix/omp-lock.h: New file.
1278         * libgomp.h: Include omp-lock.h and omp.h.
1279         * Makefile.am (nodist_include_HEADERS): New.
1280         (omp.h): New rule.
1281         * configure.ac (PERL): New.
1282         * mkomp_h.pl: New file.
1283         * omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t
1284         with templates.
1285         * Makefile.in, configure, testsuite/Makefile.in: Rebuild.
1286
1287         * testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into
1288         build directory.  Re-add -march=i486 hack.
1289
1290         * testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove.
1291         (libgomp_link_flags): Remove.
1292         (libgomp_initialized): Remove.
1293         (libgomp_init): Don't protect from reinitialization.  Copy code
1294         from libstdc++ for getting the multilib set correctly.
1295
1296 2005-05-05  Richard Henderson  <rth@redhat.com>
1297
1298         * config/linux/alpha/futex.h: New file.
1299         * configure.tgt (alpha*-*-linux*): Use it.
1300
1301         * config/posix/mutex.c: New file.
1302         * config/posix/sem.c: Use libgomp.h.
1303
1304         * configure.tgt (x86_64-linux): Also test CC for -m32.
1305         * config/linux/x86_64/futex.h (futex_wait): Fix r10 usage.
1306
1307         * testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add /
1308         after $gccpath.
1309
1310         * Makefile.am (SUBDIRS): New.
1311         (libgomp_la_LDFLAGS): Add -lpthread.
1312         * configure.ac (AM_INIT_AUTOMAKE): Enable dependencies.
1313         * Makefile.in, aclocal.m4, config.h.in, configure: Rebuild.
1314
1315         * libgomp_g.h: New file.
1316         * libgomp.h: Split out all public declarations to libgomp_g.h.
1317         Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN.
1318         * config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN.
1319         * config/linux/sem.h: Likewise.
1320         * config/posix/sem.h: Likewise.
1321
1322         * Makefile.am (AM_LDFLAGS): New.
1323         (libgomp_version_script): Split out from ...
1324         (libgomp_la_LDFLAGS): ... here.
1325         (libgomp_version_info): New.
1326         * acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE.
1327         (LIBGOMP_ENABLE): New.
1328         (LIBGOMP_CHECK_LINKER_FEATURES): New.
1329         (LIBGOMP_ENABLE_SYMVERS): New.
1330         * configure.ac (AC_INIT): Version 1.0.
1331         (enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE.
1332         (enable-linux-futex): Likewise.  Rename from enable-futex.
1333         (libtool_VERSION): New.
1334         (LIBGOMP_ENABLE_SYMVERS): Use it.
1335         * configure.tgt: Check with_gnu_ld wrt have_tls optimizations.
1336         * Makefile.in, aclocal.m4, configure: Rebuild.
1337
1338         * config/linux/mutex.c: Include libgomp.h instead of mutex.h.
1339         (gomp_mutex_unlock_slow): Fix typo.
1340         * config/linux/sem.c: Similarly.
1341         (gomp_sem_post_slow): Fix typo.
1342         * config/linux/sem.h (gomp_sem_post_slow): Fix typo.
1343         * config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code.
1344         [__PIC__] (sys_futex0): Don't use tmp output in asm.
1345
1346         * Makefile.am (AM_CFLAGS): Expand with XCFLAGS.
1347         (libgomp_la_LDFLAGS): Add top_srcdir to path.
1348         * acinclude.m4: Copy libtool.m4 stuff from libgfortran.
1349         * configure.ac: Check for getloadavg.  Substitute XCFLAGS and
1350         XLDFLAGS.  Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS.
1351         * configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and
1352         LDFLAGS.  Pull enable_futex check to top-level.
1353         * libgomp.h: Fix sem.h and mutex.h includes.  Define ATTRIBUTE_HIDDEN.
1354         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1355
1356         First attempt at real configury.
1357         * Makefile, config.h: Remove file.
1358         * Makefile.am, Makefile.in: New file.
1359         * acinclude.m4 aclocal.m4: New file.
1360         * configure.ac, configure.tgt, configure: New file.
1361
1362         * config/posix/lock.c: Rename from sys-lock.c.
1363         * config/posix/mutex.h: Rename from sys-mutex.h.
1364         * config/posix/sem.c: Rename from sys-sem.c.
1365         * config/posix/sem.h: Rename from sys-sem.h.
1366         * config/posix/proc.c: Rename from sys-proc.c.
1367         * config/posix/time.c: Rename from sys-proc.c.
1368
1369         * config/linux/mutex.c: New file.
1370         * config/linux/mutex.h: New file.
1371         * config/linux/sem.c: New file.
1372         * config/linux/sem.h: New file.
1373         * config/linux/i486/futex.h: New file.
1374         * config/linux/x86_64/futex.h: New file.
1375
1376 2005-05-04  Richard Henderson  <rth@redhat.com>
1377
1378         * iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New.
1379         * libgomp.h: Declare them.
1380         * loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start,
1381         gomp_loop_dynamic_next, gomp_loop_guided_next): Use them.
1382
1383 2005-05-04  Richard Henderson  <rth@redhat.com>
1384
1385         * libgomp-1 code drop
1386
1387 2005-05-04  Richard Henderson  <rth@redhat.com>
1388
1389         * iter.c (gomp_iter_static_next): Return tri-state on 0.
1390         * ordered.c (gomp_ordered_static_next): Remove not_last argument.
1391         * libgomp.h (struct gomp_team_state): Make static_trip unsigned.
1392         (gomp_iter_static_next): Update.
1393         (gomp_ordered_static_next): Update.
1394         * loop.c (gomp_loop_static_start): Update for gomp_iter_static_next.
1395         (gomp_loop_ordered_static_start): Likewise.  Exit early for a
1396         totally empty range.
1397         (gomp_loop_ordered_static_next): Refine test for calling
1398         gomp_ordered_static_next.
1399         * testsuite/ordered-1.c: Add case for more threads than iterations.
1400
1401         * iter.c (gomp_iter_runtime_next_locked): Remove.
1402         * loop.c (gomp_loop_static_start, gomp_loop_dynamic_start,
1403         gomp_loop_guided_start, gomp_loop_ordered_static_start,
1404         gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start,
1405         gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next,
1406         gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next,
1407         gomp_loop_ordered_guided_next): Downcase name, make static, add
1408         an external alias with the old name.
1409         (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start,
1410         GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a
1411         switch and call one of the above static functions.
1412         * libgomp.h: Update.
1413
1414         * work.c (gomp_work_share_start): Lock the mutex for !first too.
1415         * loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start,
1416         GOMP_loop_guided_start, GOMP_loop_runtime_start,
1417         GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
1418         GOMP_loop_ordered_guided_start): Update to match.
1419         * sections.c (GOMP_sections_start): Likewise.
1420         * single.c (GOMP_single_start, GOMP_single_copy_start): Likewise.
1421
1422         * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
1423         gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//.
1424         Use bounds check instead of modulus.
1425         (gomp_ordered_sync): Split out of GOMP_ordered_start.
1426         (gomp_ordered_last): Don't sync with ordered_owner here.
1427         (gomp_ordered_next): Likewise.
1428         (gomp_ordered_static_loop_next): Likewise.
1429         * loop.c, libgomp.h: Update to match.
1430
1431         * libgomp.h (GOMP_barrier): Declare.
1432
1433         * testsuite/barrier-1.c: New file.
1434         * testsuite/critical-1.c: New file.
1435         * testsuite/ordered-2.c: New file.
1436         * testsuite/ordered-1.c: New file.
1437         * testsuite/sections-1.c: New file.
1438         * testsuite/single-1.c: New file.
1439         * testsuite/Makefile (TESTS): Add them.
1440
1441 2005-05-04  Richard Henderson  <rth@redhat.com>
1442
1443         * libgomp.h (struct gomp_work_share): Add ordered_owner.
1444         * loop.c (GOMP_loop_static_start): If not the startup thread,
1445         acquire the mutex to wait for initialization complete.
1446         (GOMP_loop_ordered_static_start): Likewise.
1447         (GOMP_loop_ordered_runtime_start): Likewise.
1448         (GOMP_loop_ordered_static_first): Remove.
1449         (GOMP_loop_ordered_dynamic_first): Remove.
1450         (GOMP_loop_ordered_guided_first): Remove.
1451         (GOMP_loop_ordered_runtime_first): Remove.
1452         * ordered.c (gomp_ordered_loop_first): Post to own release when
1453         we're the first thread.
1454         (gomp_ordered_loop_last): Wait on release if not owner.
1455         (gomp_ordered_loop_next): Likewise.
1456         (gomp_ordered_static_loop_init): New.
1457         (gomp_ordered_static_loop_next): Use ordered_owner.
1458         (GOMP_ordered_start): Likewise.
1459         * work.c (gomp_new_work_share): Initialize ordered_owner.
1460
1461 2005-05-03  Richard Henderson  <rth@redhat.com>
1462
1463         * Makefile (OPT): New.
1464         (CFLAGS): Use it.
1465
1466         * loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New.
1467         * sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New.
1468         * libgomp.h, libgomp.map, NOTES: Update to match.
1469
1470         * team.c (struct gomp_thread_start_data): Remove ts, fn, data.
1471         Add initialized and thr members.
1472         (gomp_thread_start): Pause when initially spawned to wait for
1473         the whole team to be created.
1474         (gomp_team_start): Release team members at the end.
1475
1476         * testsuite/loop-1.c (N): New.  Use it instead of hardcoded 100.
1477         (f_foo_1): Use GOMP_loop_end.
1478         (f_foo_2): Use GOMP_loop_end_nowait.
1479
1480         * testsuite/loop-2.c: New file.
1481         * testsuite/Makefile (TESTS): Add it.
1482
1483 2005-05-03  Richard Henderson  <rth@redhat.com>
1484
1485         * iter.c (gomp_iter_static_next): Fix overflow check typo.
1486         (gomp_iter_dynamic_next_locked): Fix overflow check thinko.
1487         * team.c (new_team): Initialize oldest_live_gen to 1 if no
1488         initial work_share.
1489
1490         * testsuite/Makefile: New file.
1491         * testsuite/loop-1.c: New file.
1492
1493 2005-05-03  Richard Henderson  <rth@redhat.com>
1494
1495         Initial implementation and checkin.