OSDN Git Service

a3e465dafbaa886b174f71994a6fc658106e896e
[pf3gnuchains/gcc-fork.git] / libgomp / ChangeLog
1 2011-03-25  Release Manager
2
3         * GCC 4.6.0 released.
4
5 2011-02-27  Jakub Jelinek  <jakub@redhat.com>
6
7         PR fortran/47886
8         * testsuite/libgomp.fortran/task3.f90: New test.
9
10 2011-02-24  Tobias Burnus  <burnus@net-b.de>
11
12         * libgomp.texi (GOMP_STACKSIZE): Fix @ref to OMP_STACKSIZE.
13
14 2011-02-23  Jakub Jelinek  <jakub@redhat.com>
15
16         PR libgomp/47854
17         * libgomp.texi (omp_get_wtime): Don't say time in the past
18         must be Unix Epoch.
19
20 2011-02-18  Jakub Jelinek  <jakub@redhat.com>
21
22         PR libgomp/47804
23         * testsuite/libgomp.fortran/fortran.exp: Check for both
24         libquadmath.a and libquadmath.${shlib_ext}.  If neither exists,
25         but $blddir != "", still append ${blddir}/${lang_library_path}
26         to ld_library_path.
27
28 2011-02-16  Tobias Burnus  <burnus@net-b.de>
29
30         PR libgomp/47758
31         * testsuite/libgomp.fortran/fortran.exp: Check for the existence
32         of libquadmath.a before adding its libpath to ldflags.
33
34 2011-02-14  Jakub Jelinek  <jakub@redhat.com>
35
36         PR libgomp/47731
37         * config/linux/futex.h (futex_wait): Pass NULL as timeout argument
38         to FUTEX_WAIT futex syscall.
39         * config/linux/wait.h: Include <futex.h> instead of "futex.h".
40
41 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
42
43         * configure: Regenerate.
44
45 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
46
47         PR libstdc++/36104
48         * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Accept gnu variants.
49
50 2011-01-16  Gerald Pfeifer
51
52         * configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS.
53
54 2010-12-14  Jakub Jelinek  <jakub@redhat.com>
55
56         PR fortran/46874
57         * libgomp.fortran/allocatable6.f90: New test.
58
59 2010-12-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
60
61         * acinclude.m4 (symvers_renaming): Also set if enable_symvers = no.
62         * configure: Regenerate.
63
64 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
65
66         PR target/40125
67         PR lto/46695
68         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
69         * Makefile.am (libgomp_la_LDFLAGS): Use lt_host_flags.
70         * aclocal.m4: Regenerate.
71         * configure: Regenerate.
72         * Makefile.in: Regenerate.
73         * testsuite/Makefile.in: Regenerate.
74
75 2010-12-02  Jakub Jelinek  <jakub@redhat.com>
76
77         PR fortran/46753
78         * libgomp.fortran/pr46753.f90: New test.
79
80         PR libgomp/43706
81         * env.c (initialize_env): Default to spin count 300000
82         instead of 20000000 if neither OMP_WAIT_POLICY nor GOMP_SPINCOUNT
83         is specified.
84
85         PR libgomp/45240
86         * parallel.c (GOMP_parallel_end): Unlock gomp_remaining_threads_lock
87         at the end if sync builtins aren't supported.
88
89 2010-12-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
90
91         * configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS.
92
93 2010-12-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
94
95         * testsuite/libgomp.fortran/vla8.f90: Use dg-timeout-factor 2.0.
96
97 2010-11-24  Iain Sandoe  <iains@gcc.gnu.org>
98
99         * testsuite/libgomp.fortran/fortran.exp: Add paths for libquadmath.
100
101 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
102             Tobias Burnus  <burnus@net-b.de>
103
104         PR fortran/32049
105         * configure.ac: 
106         * configure: Regenerate.
107
108 2010-10-06  Marcus Shawcroft  <marcus.shawcroft@arm.com>
109
110         * config/linux/futex.h: New.
111         * config/linux/arm/mutex.h: New.
112         * configure.tgt (arm*-*-linux*): Add config path.
113
114 2010-09-30  Sebastian Pop  <sebastian.pop@amd.com>
115
116         * testsuite/libgomp.graphite/force-parallel-1.c: Adjust.
117
118 2010-09-23  Tobias Burnus  <burnus@net-b.de>
119
120         * libgomp.texi (omp_get_nested, omp_set_nested, omp_set_dynamic):
121         Change Fortran datatype to LOGICAL.
122         (omp_set_lock, omp_test_lock, omp_unset_lock, omp_set_nested_lock,
123         omp_unset_nested_lock): Use intent(inout) instead of intent(out).
124
125 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
126
127         * configure: Regenerate.
128
129 2010-07-26  Jakub Jelinek  <jakub@redhat.com>
130
131         * libgomp.texi: Add function keyword to a couple of Fortran
132         interfaces, use integer instead of int for Fortran.
133
134 2010-07-26  Aldy Hernandez  <aldyh@redhat.com>
135
136         * libgomp.texi: Fix spelling and pasto problems throughout.
137         Adjust prototypes to match code.
138
139 2010-07-24  Tobias Burnus  <burnus@net-b.de>
140
141         * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: Add -w to
142         silence -fwhole-file warning.
143
144 2010-07-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
145
146         * configure.tgt (*-*-solaris2.[56]*): Removed.
147
148 2010-07-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
149
150         * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style.
151         Define LIBGOMP_BUILD_VERSIONED_SHLIB_GNU,
152         LIBGOMP_BUILD_VERSIONED_SHLIB_SUN automake conditionals.
153         (HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT): Define unless
154         targetting solaris2*.
155         * configure: Regenerate.
156         * config.h.in: Regenerate.
157
158         * Makefile.am [LIBGOMP_BUILD_VERSIONED_SHLIB]: Protect
159         libgomp_version_script with LIBGOMP_BUILD_VERSIONED_SHLIB_GNU.
160         Add libgomp_version_dep.
161         [LIBGOMP_BUILD_VERSIONED_SHLIB_SUN]: Handle Sun symbol
162         versioning.
163         [!LIBGOMP_BUILD_VERSIONED_SHLIB]: Add libgomp_version_dep.
164         (libgomp_la_DEPENDENCIES): Set to $(libgomp_version_dep).
165         * Makefile.in: Regenerate.
166
167         * libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undef unless
168         HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT.
169         * libgomp.map (OMP_1.0): Move symbols both in OMP_1.0 and OMP_3.0
170         to common block, protected by
171         HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT.
172
173 2010-06-10  Gerald Pfeifer  <gerald@pfeifer.com>
174
175         * libgomp.texi: Move to GFDL version 1.3.  Update copyright years.
176
177 2010-06-09  Iain Sandoe  <iains@gcc.gnu.org>
178
179         PR bootstrap/43170
180         * configure: Regenerate.
181
182 2010-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
183
184         PR other/43620
185         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
186         * configure: Regenerate.
187         * Makefile.in: Regenerate.
188         * testsuite/Makefile.in: Regenerate.
189
190 2010-04-26  Jakub Jelinek  <jakub@redhat.com>
191
192         PR c/43893
193         * testsuite/libgomp.c/pr43893.c: New test.
194         * testsuite/libgomp.c++/pr43893.C: New test.
195
196 2010-04-21  Jakub Jelinek  <jakub@redhat.com>
197
198         PR middle-end/43570
199         * testsuite/libgomp.fortran/vla8.f90: New test.
200
201 2010-04-20  Jakub Jelinek  <jakub@redhat.com>
202
203         PR libgomp/43706
204         * config/linux/affinity.c (gomp_init_affinity): Decrease
205         gomp_available_cpus if affinity mask confines the process to fewer
206         CPUs.
207         * config/linux/proc.c (get_num_procs): If gomp_cpu_affinity is
208         non-NULL, just return gomp_available_cpus.
209
210         PR libgomp/43569
211         * sections.c (gomp_sections_init): Initialize ws->mode.
212
213 2010-04-14  Uros Bizjak  <ubizjak@gmail.com>
214
215         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Remove set but
216         not unused bar variable.
217         * configure: Regenerate.
218
219 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
220
221         * Makefile.in: Regenerate.
222         * aclocal.m4: Regenerate.
223         * testsuite/Makefile.in: Regenerate.
224
225 2010-03-22  Jakub Jelinek  <jakub@redhat.com>
226
227         PR libgomp/42942
228         * env.c (parse_unsigned_long): Add ALLOW_ZERO argument.
229         (initialize_env): Adjust callers.
230         (omp_set_max_active_levels): Set gomp_max_active_levels_var even
231         when the argument is 0.
232
233         * testsuite/libgomp.c/pr42942.c: New test.
234
235 2010-03-08  Tobias Grosser  <grosser@fim.uni-passau.de>
236
237         PR middle-end/42644
238         PR middle-end/42130
239         * testsuite/libgomp.graphite/force-parallel-1.c: Adjust.
240         * testsuite/libgomp.graphite/force-parallel-2.c: Adjust.
241
242 2010-01-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
243
244         * testsuite/libgomp.c++/task-1.C: Renamed err to e.
245         * testsuite/libgomp.c++/task-6.C: Likewise.
246
247 2010-01-28  Steve Ellcey  <sje@cup.hp.com>
248
249         * configure.tgt (*-*-hpux*): Add -frandom-seed flag.
250
251 2010-01-26  Paolo Bonzini  <bonzini@gnu.org>
252
253         * configure.ac: Test for executability of _the first word_ of GFORTRAN.
254         * configure: Regenerate.
255
256 2010-01-26  Jakub Jelinek  <jakub@redhat.com>
257
258         PR fortran/42866
259         * testsuite/libgomp.fortran/allocatable5.f90: New test.
260
261 2010-01-20  Paolo Bonzini  <bonzini@gnu.org>
262
263         * configure.ac: Test for executability of GFORTRAN.
264         * configure: Regenerate.
265
266 2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
267
268         * configure: Regenerate.
269
270 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
271
272         PR libgomp/42602
273         * libgomp.fortran/recursion1.f90 (sub): Make 's' atomic.
274
275 2010-01-03  Richard Guenther  <rguenther@suse.de>
276
277         * testsuite/libgomp.fortran/recursion1.f90: New testcase.
278
279 2009-12-23  Sebastian Pop  <sebpop@gmail.com>
280
281         * testsuite/libgomp.graphite/pr4118.c: New.
282
283 2009-12-22  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
284
285         * testsuite/libgomp.fortran/crayptr2.f90: Remove forced static linkage
286         for darwin, protect the test with require-effective-target tls_runtime.
287         * testsuite/libgomp.fortran/pr32550.f90: Ditto.
288
289 2009-12-22  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
290
291         PR target/41605
292         * testsuite/lib/libgomp.exp: Provide -B options to allow for
293         link spec %s substitutions for static libraries.
294
295 2009-12-18  Jack Howarth <howarth@bromo.med.uc.edu>
296
297         PR testsuite/42135
298         * libgomp.graphite/force-parallel-2.c: Reduce array size.
299
300 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
301
302         * Makefile.in: Regenerate.
303         * configure: Regenerate.
304         * testsuite/Makefile.in: Regenerate.
305
306 2009-11-30  Dave Korn  <dave.korn.cygwin@gmail.com>
307
308         * testsuite/lib/libgomp.exp (libgomp_init): Add host-dependent
309         settings for LC_ALL and LANG.
310
311 2009-11-25  Jakub Jelinek  <jakub@redhat.com>
312
313         PR fortran/42162
314         * testsuite/libgomp.fortran/pr42162.f90: New test.
315
316 2009-11-13  Jakub Jelinek  <jakub@redhat.com>
317
318         PR middle-end/42029
319         * testsuite/libgomp.c/pr42029.c: New test.
320
321 2009-10-26  Jakub Jelinek  <jakub@redhat.com>
322
323         * acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid using too many
324         *s.  Accept ld version without text in ()s.
325         * configure: Regenerated.
326
327 2009-10-22  Razya Ladelsky  <razya@il.ibm.com>
328
329         * testsuite/libgomp.graphite/force-parallel-2.c: Adjust scan.
330
331 2009-10-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
332
333         PR libgomp/41418
334         * configure.ac: Set FC to "no" if $GFORTRAN starts with "no"
335         or a hyphen (happens with fortran language disabled).
336         * configure: Regenerate.
337
338 2009-09-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
339
340         * acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid 'head',
341         use sed script portable to Solaris /bin/sed for extracting ld
342         version.
343         * configure: Regenerate.
344
345 2009-09-17  Alexander Monakov  <amonakov@ispras.ru>
346
347         * testsuite/libgomp.graphite/bounds.c: New test.
348
349 2009-09-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
350
351         * Makefile.am (libgomp_la_LINK): New.
352         * Makefile.in: Regenerate.
353
354 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
355
356         * configure.ac (AC_PREREQ): Bump to 2.64.
357
358 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
359
360         * Makefile.am (install-html, install-pdf): Remove.
361         * Makefile.in: Regenerate.
362
363         * Makefile.in: Regenerate.
364         * aclocal.m4: Regenerate.
365         * config.h.in: Regenerate.
366         * configure: Regenerate.
367         * testsuite/Makefile.in: Regenerate.
368
369 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
370
371         * Makefile.am (LINK): Add $(AM_LIBTOOLFLAGS) and $(LIBTOOLFLAGS).
372         * Makefile.in: Regenerate.
373
374 2009-08-20  Dave Korn  <dave.korn.cygwin@gmail.com>
375
376         * Makefile.am (libgomp_la_LDFLAGS): Add -bindir flag.
377         * Makefile.in: Regenerate.
378
379 2009-08-19  Tobias Burnus  <burnus@net-b.de>
380
381         PR fortran/41102
382         omp_lib.h.in: Fix -std=f95 errors.
383
384
385 2009-08-14  David Edelsohn  <edelsohn@gnu.org>
386
387         * testsuite/libgomp.graphite: Move from gcc.dg/graphite.
388         * testsuite/libgomp.graphite/graphite_autopar.exp: Delete.
389         * testsuite/libgomp.graphite/graphite.exp: New.
390
391 2009-08-05  Andreas Tobler  <a.tobler@schweiz.org>
392
393         * testsuite/libgomp.fortran/fortran.exp: Add flags in case of shared
394         only build.
395
396 2009-08-04  David Daney  <ddaney@caviumnetworks.com>
397
398         * config/linux/mutex.h (gomp_mutex_unlock): Add comment about
399         needed memory barrier semantics.
400         * config/linux/mips/mutex.h: New file.
401
402 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
403
404         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
405
406 2009-07-16  Joseph Myers  <joseph@codesourcery.com>
407
408         * configure: Regenerate.
409
410 2009-07-11  Richard Sandiford  <rdsandiford@googlemail.com>
411
412         PR testsuite/40699
413         PR testsuite/40707
414         PR testsuite/40709
415         * testsuite/lib/libgomp.exp: Revert 2009-07-02 and 2009-06-30 commits.
416         * testsuite/libgomp.c/c.exp, testsuite/libgomp.c++/c++.exp,
417         testsuite/libgomp.fortran/fortran.exp: Revert 2009-06-30 commits.
418
419 2009-07-02  Richard Sandiford  <r.sandiford@uk.ibm.com>
420
421         * testsuite/lib/libgomp.exp (libgomp_init): Use the ALWAYS_CFLAGS
422         options when choosing a multilib.
423
424 2009-06-30  Richard Sandiford  <r.sandiford@uk.ibm.com>
425
426         * testsuite/lib/libgomp.exp (libgomp_init): Don't add "." to
427         ld_library_path.  Use add_path.  Add just find_libgcc_s to
428         ld_library_path, not every libgcc multilib directory.
429         * testsuite/libgomp.c/c.exp (ld_library_path): Don't call
430         gcc-set-multilib-library-path; rely on $always_ld_library_path instead.
431         * testsuite/libgomp.c++/c++.exp (ld_library_path): Likewise.
432         Use add_path.
433         * testsuite/libgomp.fortran/fortran.exp (ld_library_path): Likewise.
434
435 2009-06-09  Nathan Froyd  <froydnj@codesourcery.com>
436
437         * Makefile.am (LTLDFLAGS): Define.
438         (LINK): Define.
439         * Makefile.in: Regenerate.
440
441 2009-05-27  Janne Blomqvist  <jb@gcc.gnu.org>
442
443         PR fortran/39718
444         * testsuite/libgomp.fortran/fortran.exp: Don't link with
445         libgfortranbegin, check existence of libgfortran.a instead of
446         libgfortranbegin.a.
447
448 2009-05-20  Jakub Jelinek  <jakub@redhat.com>
449
450         PR libgomp/40174
451         * team.c (gomp_thread_start): Destroy thr->release semaphore.
452         (gomp_free_pool_helper): Likewise.
453
454 2009-04-20  Vasilis Liaskovitis  <vliaskov@gmail.com>
455             Jakub Jelinek  <jakub@redhat.com>
456
457         PR fortran/35423
458         * testsuite/libgomp.fortran/workshare2.f90: New test.
459
460 2009-04-09  Nick Clifton  <nickc@redhat.com>
461
462         * iter.c: Change copyright header to refer to version 3 of the
463         GNU General Public License with version 3.1 of the GCC Runtime
464         Library Exception and to point readers at the COPYING3 and
465         COPYING3.RUNTIME files and the FSF's license web page.
466         * alloc.c: Likewise.
467         * barrier.c: Likewise.
468         * config/bsd/proc.c: Likewise.
469         * config/linux/affinity.c: Likewise.
470         * config/linux/alpha/futex.h: Likewise.
471         * config/linux/bar.c: Likewise.
472         * config/linux/bar.h: Likewise.
473         * config/linux/ia64/futex.h: Likewise.
474         * config/linux/ia64/mutex.h: Likewise.
475         * config/linux/lock.c: Likewise.
476         * config/linux/mips/futex.h: Likewise.
477         * config/linux/mutex.c: Likewise.
478         * config/linux/mutex.h: Likewise.
479         * config/linux/powerpc/futex.h: Likewise.
480         * config/linux/proc.c: Likewise.
481         * config/linux/ptrlock.c: Likewise.
482         * config/linux/ptrlock.h: Likewise.
483         * config/linux/s390/futex.h: Likewise.
484         * config/linux/sem.c: Likewise.
485         * config/linux/sem.h: Likewise.
486         * config/linux/sparc/futex.h: Likewise.
487         * config/linux/wait.h: Likewise.
488         * config/linux/x86/futex.h: Likewise.
489         * config/mingw32/proc.c: Likewise.
490         * config/mingw32/time.c: Likewise.
491         * config/posix/affinity.c: Likewise.
492         * config/posix/bar.c: Likewise.
493         * config/posix/bar.h: Likewise.
494         * config/posix/lock.c: Likewise.
495         * config/posix/mutex.h: Likewise.
496         * config/posix/proc.c: Likewise.
497         * config/posix/ptrlock.h: Likewise.
498         * config/posix/sem.c: Likewise.
499         * config/posix/sem.h: Likewise.
500         * config/posix/time.c: Likewise.
501         * config/posix95/lock.c: Likewise.
502         * critical.c: Likewise.
503         * env.c: Likewise.
504         * error.c: Likewise.
505         * fortran.c: Likewise.
506         * iter_ull.c: Likewise.
507         * libgomp.h: Likewise.
508         * libgomp_f.h.in: Likewise.
509         * libgomp_g.h: Likewise.
510         * loop.c: Likewise.
511         * loop_ull.c: Likewise.
512         * omp.h.in: Likewise.
513         * omp_lib.f90.in: Likewise.
514         * omp_lib.h.in: Likewise.
515         * ordered.c: Likewise.
516         * parallel.c: Likewise.
517         * sections.c: Likewise.
518         * single.c: Likewise.
519         * task.c: Likewise.
520         * team.c: Likewise.
521         * work.c: Likewise.
522
523 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
524
525         * testsuite/config/default.exp: Change copyright header to refer to
526         version 3 of the GNU General Public License and to point readers
527         at the COPYING3 file and the FSF's license web page.
528
529 2009-04-08  Jakub Jelinek  <jakub@redhat.com>
530
531         PR middle-end/39573
532         * libgomp.c++/pr39573.C: New test.
533
534 2009-04-01  Jakub Jelinek  <jakub@redhat.com>
535
536         PR other/39591
537         * testsuite/libgomp.c/pr39591-1.c: New test.
538         * testsuite/libgomp.c/pr39591-2.c: New test.
539         * testsuite/libgomp.c/pr39591-3.c: New test.
540
541 2009-03-25  Uros Bizjak  <ubizjak@gmail.com>
542
543         * testsuite/libgomp.c/atomic-5.c: Cleanup cpuid usage.
544         * testsuite/libgomp.c/atomic-6.c: Ditto.
545
546 2009-03-23  Jakub Jelinek  <jakub@redhat.com>
547
548         PR c/39495
549         * testsuite/libgomp.c/loop-12.c: New test.
550         * testsuite/libgomp.c/loop-11.c: New test.
551         * testsuite/libgomp.c++/loop-11.C: New test.
552         * testsuite/libgomp.c++/loop-12.C: New test.
553         * testsuite/libgomp.c++/for-8.C: New test.
554
555 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
556
557         * configure: Regenerate.
558
559 2009-02-11  Jakub Jelinek  <jakub@redhat.com>
560
561         PR middle-end/39154
562         * testsuite/libgomp.c/pr39154.c: New test.
563
564 2009-01-30  Ian Lance Taylor  <iant@google.com>
565
566         * acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set
567         libgomp_ld_is_gold.  Get gold version number.
568         (LIBGOMP_ENABLE_SYMVERS): Gold always support symbol versioning.
569         * configure: Rebuild.
570
571 2009-01-19  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
572
573         * testsuite/lib/libgomp.exp: Add -B option for targets that
574         use libgfortran.a%s in their specs.
575
576 2009-01-07  Jakub Jelinek  <jakub@redhat.com>
577
578         PR libgomp/38086
579         * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New check.
580         * libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undefine if
581         HAVE_AS_SYMVER_DIRECTIVE is not defined.
582         * configure: Regenerated.
583         * config.h.in: Likewise.
584
585 2008-12-28  Jakub Jelinek  <jakub@redhat.com>
586
587         PR c++/38650
588         * testsuite/libgomp.c/pr38650.c: New test.
589         * testsuite/libgomp.c++/pr38650.C: New test.
590
591 2008-12-27  Jakub Jelinek  <jakub@redhat.com>
592
593         * testsuite/libgomp.c/collapse-1.c (main): Add private(k) clause.
594
595 2008-12-26  Uros Bizjak  <ubizjak@gmail.com>
596
597         * testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets.
598
599 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
600
601         * configure: Regenerate.
602
603 2008-12-08  Jakub Jelinek  <jakub@redhat.com>
604
605         PR middle-end/36802
606         * testsuite/libgomp.c/pr36802-1.c: New test.
607         * testsuite/libgomp.c/pr36802-2.c: New test.
608         * testsuite/libgomp.c/pr36802-3.c: New test.
609
610 2008-12-01  Janis Johnson  <janis187@us.ibm.com>
611
612         PR libgomp/38270
613         * config/linux/powerpc/mutex.h: New.
614
615 2008-12-01  Jakub Jelinek  <jakub@redhat.com>
616
617         PR c++/38257
618         * testsuite/libgomp.c++/for-7.C: New test.
619
620         PR c++/38348
621         * testsuite/libgomp.c++/for-6.C: New test.
622
623 2008-11-26  Janis Johnson  <janis187@us.ibm.com>
624
625         PR testsuite/28870
626         * testsuite/lib/libgomp.exp: Include new timeout library files.
627         (libgomp_target_compile): Set timeout value from new proc.
628
629 2008-11-13  Steve Ellcey  <sje@cup.hp.com>
630
631         PR libgomp/37938
632         * config/linux/ia64/mutex.h: New.
633
634 2008-11-04  Tobias Burnus  <burnus@net-b.de>
635
636         PR libgomp/37935
637         * libgomp.texi (Runtime library routines, environment variables):
638         Update for OpenMP version 3.0.
639
640 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
641             Steve Ellcey  <sje@cup.hp.com>
642
643         * configure: Regenerate for new libtool.
644         * Makefile.in: Ditto.
645         * testsuite/Makefile.in: Ditto.
646
647 2008-09-19  Jakub Jelinek  <jakub@redhat.com>
648             Andreas Tobler  <a.tobler@schweiz.org>
649
650         * config/bsd/proc.c: New file.
651         * configure.tgt (*-*-darwin*): Use config_path "bsd posix".
652         * configure.ac: Check for header <sys/sysctl.h>
653         * configure: Regenerate.
654         * config.h.in: Likewise.
655
656 2008-09-05  Janis Johnson  <janis187@us.ibm.com>
657
658         * testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists.
659
660 2008-08-31  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
661
662         * Makefile.am (libgomp_la_LDFLAGS): Add -no-undefined.
663         * Makefile.in: Regenerated.
664         * testsuite/Makefile.in: Regenerated.
665
666 2008-08-21  Nathan Froyd  <froydnj@codesourcery.com>
667
668         * testsuite/lib/libgomp.exp (libgomp_init): Only set things that
669         depend on blddir if blddir exists.
670         (libgomp_target_compile): Likewise.
671         * testsuite/libgomp.c++/c++.exp: Likewise.
672         * testsuite/libgomp.fortran/fortran.exp: Likewise.
673
674 2008-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
675
676         * libgomp.texi: Update to GFDL 1.2.  Update copyright years.
677         Do not list GPL as Invariant Section.
678
679 2008-07-28  Ilie Garbacea  <ilie@mips.com>
680             Chao-ying Fu  <fu@mips.com>
681
682         * configure.tgt: Enable futex for MIPS.
683         * config/linux/mips/futex.h: New file.
684
685 2008-07-16  Jakub Jelinek  <jakub@redhat.com>
686
687         * team.c (gomp_team_end): Free team immediately if it has
688         just one thread.
689
690 2008-07-08  David Edelsohn  <edelsohn@gnu.org>
691
692         * testsuite/libgomp.c++/c++.exp: Append multilib library path.
693         * testsuite/libgomp.fortran/fortran.exp: Same.
694         * testsuite/libgomp.c/c.exp: Same.
695         * testsuite/lib/libgomp.exp: Append AIX libgcc pthread multilib
696         directory to library path first.
697
698 2008-06-29  Krister Walfridsson  <krister.walfridsson@gmail.com>
699
700         * env.c (parse_stacksize): Add cast to avoid warning.
701         (parse_spincount): Likewise.
702
703 2008-06-27  Jakub Jelinek  <jakub@redhat.com>
704
705         * testsuite/libgomp.c/loop-10.c: New test.
706         * libgomp.c/loop-3.c (main): Add lastprivate clause.
707         * libgomp.c++/loop-6.C (main): Likewise.
708
709         PR debug/36617
710         * testsuite/libgomp.c/debug-1.c: New test.
711
712 2008-06-19  Jakub Jelinek  <jakub@redhat.com>
713
714         * testsuite/libgomp.c/nqueens-1.c: New test.
715
716         PR c++/36523
717         * testsuite/libgomp.c++/task-7.C: New function.
718
719 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
720
721         * configure: Regenerate.
722
723 2008-06-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
724
725         * env.c (initialize_env): Always initialize gomp_remaining_threads_lock
726         mutex when HAVE_SYNC_BUILTINS isn't defined.
727
728 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
729
730         * libgomp.texi (omp_test_lock): Fix typo.
731
732 2008-06-12  Tobias Burnus  <burnus@net-b.de>
733
734         * omp_lib.f90.in: Add "implicit none".
735
736 2008-06-12  Jakub Jelinek  <jakub@redhat.com>
737
738         PR middle-end/36506
739         * testsuite/libgomp.c/reduction-5.c: New test.
740
741 2008-06-11  Jakub Jelinek  <jakub@redhat.com>
742
743         * libgomp.h (struct gomp_task): Add in_tied_task field.
744         * task.c (gomp_init_task): Initialize it.
745         (GOMP_task): Likewise.  Call gomp_team_barrier_set_task_pending
746         unconditionally.  Don't call gomp_team_barrier_wake if
747         current task is implicit or if(0) from implicit and number of
748         running tasks is equal to nthreads - 1.
749
750         PR libgomp/36471
751         * omp_lib.f90.in (omp_get_ancestor_thread_num_8,
752         omp_get_team_size_8): Fix pastos.
753
754         PR libgomp/36469
755         * configure.ac: Add AC_CHECK_FUNCS (strtoull).
756         * configure: Regenerated.
757         * config.h.in: Regenerated.
758         * env.c (strtoull): Define to strtoul if HAVE_STRTOULL is not
759         defined.
760
761 2008-06-06  Andreas Tobler  <a.tobler@schweiz.org>
762
763         PR bootstrap/36452
764         * loop_ull.c (GOMP_loop_ull_static_start): Adjust API.
765         (GOMP_loop_ull_dynamic_start): Likewise.
766         (GOMP_loop_ull_guided_start): Likewise.
767         (GOMP_loop_ull_ordered_static_start): Likewise.
768         (GOMP_loop_ull_ordered_dynamic_start): Likewise.
769         (GOMP_loop_ull_ordered_guided_start): Likewise.
770
771 2008-06-06  Jakub Jelinek  <jakub@redhat.com>
772             Richard Henderson  <rth@redhat.com>
773             Ulrich Drepper  <drepper@redhat.com>
774             Jakob Blomer  <jakob.blomer@ira.uka.de>
775
776         * configure.ac (LIBGOMP_GNU_SYMBOL_VERSIONING): New AC_DEFINE.
777         Substitute also OMP_*LOCK_25*.
778         * configure: Regenerated.
779         * config.h.in: Regenerated.
780         * Makefile.am (libgomp_la_SOURCES): Add loop_ull.c, iter_ull.c,
781         ptrlock.c and task.c.
782         * Makefile.in: Regenerated.
783         * testsuite/Makefile.in: Regenerated.
784         * task.c: New file.
785         * loop_ull.c: New file.
786         * iter_ull.c: New file.
787         * libgomp.h: Include ptrlock.h.
788         (enum gomp_task_kind): New type.
789         (struct gomp_team): Add task_lock, task_queue, task_count,
790         task_running_count, single_count fields.  Add
791         work_share_list_free_lock ifndef HAVE_SYNC_BUILTINS.
792         Remove work_share_lock, generation_mask,
793         oldest_live_gen, num_live_gen and init_work_shares fields, add
794         work work_share_list_alloc, work_share_list_free and work_share_chunk
795         fields.  Change work_shares from pointer to pointers into an array.
796         Change ordered_release field into gomp_sem_t ** from flexible array
797         member.  Add implicit_task and initial_work_shares fields.
798         Move close to the end of the struct.
799         (struct gomp_team_state): Add single_count, last_work_share,
800         active_level and level fields, remove work_share_generation.
801         (gomp_barrier_handle_tasks): New prototype.
802         (gomp_finish_task): New inline function.
803         (struct gomp_work_share): Move chunk_size, end, incr into
804         transparent union/struct, add chunk_size_ull, end_ll, incr_ll and
805         next_ll fields.  Reshuffle fields.  Add next_alloc,
806         next_ws, next_free and inline_ordered_team_ids fields, change
807         ordered_team_ids into pointer from flexible array member.
808         Add mode field.  Put lock and next into a different cache line
809         from most of the write-once fields.
810         (gomp_iter_ull_static_next, gomp_iter_ull_dynamic_next_locked,
811         gomp_iter_ull_guided_next_locked, gomp_iter_ull_dynamic_next,
812         gomp_iter_ull_guided_next): New prototypes.
813         (gomp_new_icv): New prototype.
814         (struct gomp_thread): Add thread_pool and task fields.
815         (struct gomp_thread_pool): New type.
816         (gomp_new_team): New prototype.
817         (gomp_team_start): Change type of last argument.
818         (gomp_new_work_share): Removed.
819         (gomp_init_work_share, gomp_fini_work_share): New prototypes.
820         (gomp_work_share_init_done): New static inline.
821         (gomp_throttled_spin_count_var, gomp_available_cpus,
822         gomp_managed_threads): New extern decls.
823         (gomp_init_task): New prototype.
824         (gomp_spin_count_var): New extern var decl.
825         (LIBGOMP_GNU_SYMBOL_VERSIONING): Undef if no visibility
826         or no alias support, or if not PIC.
827         (gomp_init_lock_30, gomp_destroy_lock_30, gomp_set_lock_30,
828         gomp_unset_lock_30, gomp_test_lock_30, gomp_init_nest_lock_30,
829         gomp_destroy_nest_lock_30, gomp_set_nest_lock_30,
830         gomp_unset_nest_lock_30, gomp_test_nest_lock_30, gomp_init_lock_25,
831         gomp_destroy_lock_25, gomp_set_lock_25, gomp_unset_lock_25,
832         gomp_test_lock_25, gomp_init_nest_lock_25, gomp_destroy_nest_lock_25,
833         gomp_set_nest_lock_25, gomp_unset_nest_lock_25,
834         gomp_test_nest_lock_25): New prototypes.
835         (omp_lock_symver, strong_alias): Define.
836         (gomp_remaining_threads_count, gomp_remaining_threads_lock): New
837         decls.
838         (gomp_end_task): New.
839         (struct gomp_task_icv, gomp_global_icv): New.
840         (gomp_thread_limit_var, gomp_max_active_levels_var): New.
841         (struct gomp_task): New.
842         (gomp_nthreads_var, gomp_dyn_var, gomp_nest_var,
843         gomp_run_sched_var, gomp_run_sched_chunk): Remove.
844         (gomp_icv): New.
845         (gomp_schedule_type): Reorder enum to match
846         omp_sched_t.
847         * team.c (struct gomp_thread_start_data): Add thread_pool and task
848         fields.
849         (gomp_thread_start): Add gomp_team_barrier_wait call.
850         For non-nested case remove clearing of docked thread thr fields.
851         Use pool fields instead of global gomp_* variables.  Use
852         gomp_barrier_wait_last when needed.  Initialize ts.active_level.
853         Create tasks for each member thread.
854         (free_team): Only destroy team barrier, task_lock here and free it.
855         (gomp_free_thread): Free last_team if non-NULL.
856         (gomp_team_end): Call gomp_team_barrier_wait instead of
857         gomp_barrier_wait.  For nested case call one extra
858         gomp_barrier_wait.  Move here some destruction from free_team.
859         Call free_team on pool->last_team if any, rather than freeing
860         current team.  Destroy work_share_list_free_lock ifndef
861         HAVE_SYNC_BUILTINS.
862         (gomp_new_icv): New function.
863         (gomp_threads, gomp_threads_size, gomp_threads_used,
864         gomp_threads_dock): Removed.
865         (gomp_thread_destructor): New variable.
866         (gomp_new_thread_pool, gomp_free_pool_helper, gomp_free_thread): New
867         functions.
868         (gomp_team_start): Create new pool if current thread doesn't have
869         one.  Use pool fields instead of global gomp_* variables. 
870         Initialize thread_pool field for new threads.  Clear single_count.
871         Change last argument from ws to team, don't create
872         new team, set ts.work_share to &team->work_shares[0] and clear
873         ts.last_work_share.  Don't clear ts.work_share_generation.
874         If number of threads changed, adjust atomically gomp_managed_threads.
875         Use gomp_init_task instead of gomp_new_task,
876         set thr->task to the corresponding implicit_task array entry.
877         Create tasks for each member thread.  Initialize ts.level.
878         (initialize_team): Call pthread_key_create on
879         gomp_thread_destructor.
880         (team_destructor): New function.
881         (new_team): Removed.
882         (gomp_new_team): New function.
883         (free_team): Free gomp_work_share blocks chained through next_alloc,
884         instead of freeing work_shares and destroying work_share_lock.
885         (gomp_team_end): Call gomp_fini_work_share.  If number of threads
886         changed, adjust atomically gomp_managed_threads.  Use gomp_end_task.
887         * barrier.c (GOMP_barrier): Call gomp_team_barrier_wait instead
888         of gomp_barrier_wait.
889         * single.c (GOMP_single_copy_start): Call gomp_team_barrier_wait
890         instead of gomp_barrier_wait.  Call gomp_work_share_init_done
891         if gomp_work_share_start returned true.  Don't unlock ws->lock.
892         (GOMP_single_copy_end): Call gomp_team_barrier_wait instead
893         of gomp_barrier_wait.
894         (GOMP_single_start): Rewritten if HAVE_SYNC_BUILTINS.  Call
895         gomp_work_share_init_done if gomp_work_share_start returned true.
896         Don't unlock ws->lock.
897         * work.c: Include stddef.h.
898         (free_work_share): Use work_share_list_free_lock instead
899         of atomic chaining ifndef HAVE_SYNC_BUILTINS.  Add team argument.
900         Call gomp_fini_work_share and then either free ws if orphaned, or
901         put it into work_share_list_free list of the current team.
902         (alloc_work_share, gomp_init_work_share, gomp_fini_work_share): New
903         functions.
904         (gomp_work_share_start, gomp_work_share_end,
905         gomp_work_share_end_nowait): Rewritten.
906         * omp_lib.f90.in Change some tabs to spaces to prevent warnings.
907         (openmp_version): Set to 200805.
908         (omp_sched_kind, omp_sched_static, omp_sched_dynamic,
909         omp_sched_guided, omp_sched_auto): New parameters.
910         (omp_set_schedule, omp_get_schedule, omp_get_thread_limit,
911         omp_set_max_active_levels, omp_get_max_active_levels,
912         omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size,
913         omp_get_active_level): New interfaces.
914         * omp_lib.h.in (openmp_version): Set to 200805.
915         (omp_sched_kind, omp_sched_static, omp_sched_dynamic,
916         omp_sched_guided, omp_sched_auto): New parameters.
917         (omp_set_schedule, omp_get_schedule, omp_get_thread_limit,
918         omp_set_max_active_levels, omp_get_max_active_levels,
919         omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size,
920         omp_get_active_level): New externals.
921         * loop.c: Include limits.h.
922         (GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Handle
923         GFS_AUTO.
924         (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start):
925         Likewise.  Use gomp_icv.
926         (gomp_loop_static_start, gomp_loop_dynamic_start): Clear
927         ts.static_trip here.
928         (gomp_loop_static_start, gomp_loop_ordered_static_start): Call
929         gomp_work_share_init_done after gomp_loop_init.  Don't unlock ws->lock.
930         (gomp_loop_dynamic_start, gomp_loop_guided_start): Call
931         gomp_work_share_init_done after gomp_loop_init.  If HAVE_SYNC_BUILTINS,
932         don't unlock ws->lock, otherwise lock it.
933         (gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start): Call
934         gomp_work_share_init_done after gomp_loop_init.  Lock ws->lock.
935         (gomp_parallel_loop_start): Call gomp_new_team instead of
936         gomp_new_work_share.  Call gomp_loop_init on &team->work_shares[0].
937         Adjust gomp_team_start caller.  Pass 0 as second argument to
938         gomp_resolve_num_threads.
939         (gomp_loop_init): For GFS_DYNAMIC, multiply ws->chunk_size by incr.
940         If adding ws->chunk_size nthreads + 1 times after end won't
941         overflow, set ws->mode to 1.
942         * libgomp_g.h (GOMP_loop_ull_static_start, GOMP_loop_ull_dynamic_start,
943         GOMP_loop_ull_guided_start, GOMP_loop_ull_runtime_start,
944         GOMP_loop_ull_ordered_static_start,
945         GOMP_loop_ull_ordered_dynamic_start,
946         GOMP_loop_ull_ordered_guided_start,
947         GOMP_loop_ull_ordered_runtime_start, GOMP_loop_ull_static_next,
948         GOMP_loop_ull_dynamic_next, GOMP_loop_ull_guided_next,
949         GOMP_loop_ull_runtime_next, GOMP_loop_ull_ordered_static_next,
950         GOMP_loop_ull_ordered_dynamic_next, GOMP_loop_ull_ordered_guided_next,
951         GOMP_loop_ull_ordered_runtime_next, GOMP_task, GOMP_taskwait): New
952         prototypes.
953         * libgomp.map: Export lock routines also @@OMP_2.0.
954         (GOMP_loop_ordered_dynamic_first,
955         GOMP_loop_ordered_guided_first, GOMP_loop_ordered_runtime_first,
956         GOMP_loop_ordered_static_first): Remove.
957         (GOMP_loop_ull_dynamic_next, GOMP_loop_ull_dynamic_start,
958         GOMP_loop_ull_guided_next, GOMP_loop_ull_guided_start,
959         GOMP_loop_ull_ordered_dynamic_next,
960         GOMP_loop_ull_ordered_dynamic_start,
961         GOMP_loop_ull_ordered_guided_next,
962         GOMP_loop_ull_ordered_guided_start,
963         GOMP_loop_ull_ordered_runtime_next,
964         GOMP_loop_ull_ordered_runtime_start,
965         GOMP_loop_ull_ordered_static_next,
966         GOMP_loop_ull_ordered_static_start,
967         GOMP_loop_ull_runtime_next, GOMP_loop_ull_runtime_start,
968         GOMP_loop_ull_static_next, GOMP_loop_ull_static_start,
969         GOMP_task, GOMP_taskwait): Export @@GOMP_2.0.
970         (omp_set_schedule, omp_get_schedule,
971         omp_get_thread_limit, omp_set_max_active_levels,
972         omp_get_max_active_levels, omp_get_level,
973         omp_get_ancestor_thread_num, omp_get_team_size, omp_get_active_level,
974         omp_set_schedule_, omp_set_schedule_8_,
975         omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_,
976         omp_set_max_active_levels_, omp_set_max_active_levels_8_,
977         omp_get_max_active_levels_, omp_get_level_,
978         omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_,
979         omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_):
980         New exports @@OMP_3.0.
981         * omp.h.in (omp_sched_t): New type.
982         (omp_set_schedule, omp_get_schedule, omp_get_thread_limit,
983         omp_set_max_active_levels, omp_get_max_active_levels,
984         omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size,
985         omp_get_active_level): New prototypes.
986         * env.c (gomp_spin_count_var, gomp_throttled_spin_count_var,
987         gomp_available_cpus, gomp_managed_threads, gomp_max_active_levels_var,
988         gomp_thread_limit_var, gomp_remaining_threads_count,
989         gomp_remaining_threads_lock): New variables.
990         (parse_spincount): New function.
991         (initialize_env): Call gomp_init_num_threads unconditionally.
992         Initialize gomp_available_cpus.  Call parse_spincount,
993         initialize gomp_{,throttled_}spin_count_var
994         depending on presence and value of OMP_WAIT_POLICY and
995         GOMP_SPINCOUNT env vars.  Handle GOMP_BLOCKTIME env var.
996         Handle OMP_WAIT_POLICY, OMP_MAX_ACTIVE_LEVELS,
997         OMP_THREAD_LIMIT, OMP_STACKSIZE env vars.  Handle unit specification
998         for GOMP_STACKSIZE.  Initialize gomp_remaining_threads_count and
999         gomp_remaining_threads_lock if needed.  Use gomp_global_icv.
1000         (gomp_nthreads_var, gomp_dyn_var, gomp_nest_var,
1001         gomp_run_sched_var, gomp_run_sched_chunk): Remove.
1002         (gomp_global_icv): New.
1003         (parse_schedule): Use it.  Parse "auto".
1004         (omp_set_num_threads): Use gomp_icv.
1005         (omp_set_dynamic, omp_get_dynamic, omp_set_nested, omp_get_nested):
1006         Likewise.
1007         (omp_get_max_threads): Move from parallel.c.
1008         (omp_set_schedule, omp_get_schedule, omp_get_thread_limit,
1009         omp_set_max_active_levels, omp_get_max_active_levels): New functions,
1010         add ialias.
1011         (parse_stacksize, parse_wait_policy): New functions.
1012         * fortran.c: Rewrite lock wrappers, if symbol versioning provide
1013         both wrappers for compatibility and new locks.
1014         (omp_set_schedule, omp_get_schedule,
1015         omp_get_thread_limit, omp_set_max_active_levels,
1016         omp_get_max_active_levels, omp_get_level,
1017         omp_get_ancestor_thread_num, omp_get_team_size,
1018         omp_get_active_level): New ialias_redirect.
1019         (omp_set_schedule_, omp_set_schedule_8_,
1020         omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_,
1021         omp_set_max_active_levels_, omp_set_max_active_levels_8_,
1022         omp_get_max_active_levels_, omp_get_level_,
1023         omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_,
1024         omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_):
1025         New functions.
1026         * parallel.c: Include limits.h.
1027         (gomp_resolve_num_threads): Add count argument.  Rewritten.
1028         (GOMP_parallel_start): Call gomp_new_team and pass that as last
1029         argument to gomp_team_start.  Pass 0 as second argument to
1030         gomp_resolve_num_threads.
1031         (GOMP_parallel_end): Decrease gomp_remaining_threads_count
1032         if gomp_thread_limit_var != ULONG_MAX.
1033         (omp_in_parallel): Implement using ts.active_level.
1034         (omp_get_max_threads): Move to env.c.
1035         (omp_get_level, omp_get_ancestor_thread_num,
1036         omp_get_team_size, omp_get_active_level): New functions,
1037         add ialias.
1038         * sections.c (GOMP_sections_start): Call gomp_work_share_init_done
1039         after gomp_sections_init.  If HAVE_SYNC_BUILTINS, call
1040         gomp_iter_dynamic_next instead of the _locked variant and don't take
1041         lock around it, otherwise acquire it before calling
1042         gomp_iter_dynamic_next_locked.
1043         (GOMP_sections_next): If HAVE_SYNC_BUILTINS, call
1044         gomp_iter_dynamic_next instead of the _locked variant and don't take
1045         lock around it.
1046         (GOMP_parallel_sections_start): Call gomp_new_team instead of
1047         gomp_new_work_share.  Call gomp_sections_init on &team->work_shares[0].
1048         Adjust gomp_team_start caller.  Pass count as second argument to
1049         gomp_resolve_num_threads, don't adjust num_threads after the call.
1050         Use gomp_icv.
1051         * iter.c (gomp_iter_dynamic_next_locked): Don't multiply
1052         ws->chunk_size by incr.
1053         (gomp_iter_dynamic_next): Likewise.  If ws->mode, use more efficient
1054         code.
1055         * libgomp_f.h.in (omp_lock_25_arg_t, omp_nest_lock_25_arg_t): New
1056         types.
1057         (omp_lock_25_arg, omp_nest_lock_25_arg): New macros.
1058         (omp_check_defines): Check even the compat defines.
1059         * config/linux/ptrlock.c: New file.
1060         * config/linux/ptrlock.h: New file.
1061         * config/linux/wait.h: New file.
1062         * config/posix/ptrlock.c: New file.
1063         * config/posix/ptrlock.h: New file.
1064         * config/linux/bar.h (gomp_team_barrier_wait,
1065         gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes.
1066         (gomp_team_barrier_set_task_pending,
1067         gomp_team_barrier_clear_task_pending,
1068         gomp_team_barrier_set_waiting_for_tasks,
1069         gomp_team_barrier_waiting_for_tasks,
1070         gomp_team_barrier_done): New inlines.
1071         (gomp_barrier_t): Rewritten.
1072         (gomp_barrier_state_t): New typedef.
1073         (gomp_barrier_init, gomp_barrier_reinit, gomp_barrier_destroy,
1074         gomp_barrier_wait_start): Rewritten.
1075         (gomp_barrier_wait_end): Change second argument to
1076         gomp_barrier_state_t.
1077         (gomp_barrier_last_thread, gomp_barrier_wait_last): New static
1078         inlines.
1079         * config/linux/bar.c: Include wait.h instead of libgomp.h and
1080         futex.h.
1081         (gomp_barrier_wait_end): Rewritten.
1082         (gomp_team_barrier_wait, gomp_team_barrier_wait_end,
1083         gomp_team_barrier_wake, gomp_barrier_wait_last): New functions.
1084         * config/posix/bar.h (gomp_barrier_t): Add generation field.
1085         (gomp_barrier_state_t): New typedef.
1086         (gomp_team_barrier_wait,
1087         gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes.
1088         (gomp_barrier_wait_start): Or all but low 2 bits from generation
1089         into the return value.  Return gomp_barrier_state_t.
1090         (gomp_team_barrier_set_task_pending,
1091         gomp_team_barrier_clear_task_pending,
1092         gomp_team_barrier_set_waiting_for_tasks,
1093         gomp_team_barrier_waiting_for_tasks,
1094         gomp_team_barrier_done): New inlines.
1095         (gomp_barrier_wait_end): Change second argument to
1096         gomp_barrier_state_t.
1097         (gomp_barrier_last_thread, gomp_barrier_wait_last): New static
1098         inlines.
1099         * config/posix/bar.c (gomp_barrier_init): Clear generation field.
1100         (gomp_barrier_wait_end): Change second argument to
1101         gomp_barrier_state_t. 
1102         (gomp_team_barrier_wait, gomp_team_barrier_wait_end,
1103         gomp_team_barrier_wake): New functions.
1104         * config/linux/mutex.c: Include wait.h instead of libgomp.h and
1105         futex.h.
1106         (gomp_futex_wake, gomp_futex_wait): New variables.
1107         (gomp_mutex_lock_slow): Call do_wait instead of futex_wait.
1108         * config/linux/lock.c: Rewrite to make locks task owned,
1109         for backwards compatibility provide the old entrypoints
1110         if symbol versioning.  Include wait.h instead of libgomp.h and
1111         futex.h.
1112         (gomp_set_nest_lock_25): Call do_wait instead of futex_wait.
1113         * config/posix95/lock.c: Rewrite to make locks task owned,
1114         for backwards compatibility provide the old entrypoints
1115         if symbol versioning.
1116         * config/posix/lock.c: Rewrite to make locks task owned,
1117         for backwards compatibility provide the old entrypoints
1118         if symbol versioning.
1119         * config/linux/proc.c (gomp_init_num_threads): Use gomp_global_icv.
1120         (get_num_procs, gomp_dynamic_max_threads): Use gomp_icv.
1121         * config/posix/proc.c, config/mingw32/proc.c: Similarly.
1122         * config/linux/powerpc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
1123         (sys_futex0): Return error code.
1124         (futex_wake, futex_wait): If ENOSYS was returned, clear
1125         FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
1126         (cpu_relax, atomic_write_barrier): New static inlines.
1127         * config/linux/alpha/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
1128         (futex_wake, futex_wait): If ENOSYS was returned, clear
1129         FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
1130         (cpu_relax, atomic_write_barrier): New static inlines.
1131         * config/linux/x86/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
1132         (sys_futex0): Return error code.
1133         (futex_wake, futex_wait): If ENOSYS was returned, clear
1134         FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
1135         (cpu_relax, atomic_write_barrier): New static inlines.
1136         * config/linux/s390/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
1137         (sys_futex0): Return error code.
1138         (futex_wake, futex_wait): If ENOSYS was returned, clear
1139         FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
1140         (cpu_relax, atomic_write_barrier): New static inlines.
1141         * config/linux/ia64/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
1142         (sys_futex0): Return error code.
1143         (futex_wake, futex_wait): If ENOSYS was returned, clear
1144         FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
1145         (cpu_relax, atomic_write_barrier): New static inlines.
1146         * config/linux/sparc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
1147         (sys_futex0): Return error code.
1148         (futex_wake, futex_wait): If ENOSYS was returned, clear
1149         FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
1150         (cpu_relax, atomic_write_barrier): New static inlines.
1151         * config/linux/sem.c: Include wait.h instead of libgomp.h and
1152         futex.h.
1153         (gomp_sem_wait_slow): Call do_wait instead of futex_wait.
1154         * config/linux/affinity.c: Assume HAVE_SYNC_BUILTINS.
1155         * config/linux/omp-lock.h (omp_lock_25_t, omp_nest_lock_25_t): New
1156         types.
1157         (omp_nest_lock_t): Change owner into void *, add lock field.
1158         * config/posix95/omp-lock.h: Include semaphore.h.
1159         (omp_lock_25_t, omp_nest_lock_25_t): New types.
1160         (omp_lock_t): Use sem_t instead of mutex if semaphores
1161         aren't broken.
1162         (omp_nest_lock_t): Likewise.  Change owner to void *.
1163         * config/posix/omp-lock.h: Include semaphore.h.
1164         (omp_lock_25_t, omp_nest_lock_25_t): New types.
1165         (omp_lock_t): Use sem_t instead of mutex if semaphores
1166         aren't broken.
1167         (omp_nest_lock_t): Likewise.  Add owner field.
1168
1169 2008-06-06  Jakub Jelinek  <jakub@redhat.com>
1170
1171         * testsuite/libgomp.c/collapse-1.c: New test.
1172         * testsuite/libgomp.c/collapse-2.c: New test.
1173         * testsuite/libgomp.c/collapse-3.c: New test.
1174         * testsuite/libgomp.c/icv-1.c: New test.
1175         * testsuite/libgomp.c/icv-2.c: New test.
1176         * testsuite/libgomp.c/lib-2.c: New test.
1177         * testsuite/libgomp.c/lock-1.c: New test.
1178         * testsuite/libgomp.c/lock-2.c: New test.
1179         * testsuite/libgomp.c/lock-3.c: New test.
1180         * testsuite/libgomp.c/loop-4.c: New test.
1181         * testsuite/libgomp.c/loop-5.c: New test.
1182         * testsuite/libgomp.c/loop-6.c: New test.
1183         * testsuite/libgomp.c/loop-7.c: New test.
1184         * testsuite/libgomp.c/loop-8.c: New test.
1185         * testsuite/libgomp.c/loop-9.c: New test.
1186         * testsuite/libgomp.c/nested-3.c: New test.
1187         * testsuite/libgomp.c/nestedfn-6.c: New test.
1188         * testsuite/libgomp.c/sort-1.c: New test.
1189         * testsuite/libgomp.c/task-1.c: New test.
1190         * testsuite/libgomp.c/task-2.c: New test.
1191         * testsuite/libgomp.c/task-3.c: New test.
1192         * testsuite/libgomp.c/task-4.c: New test.
1193         * testsuite/libgomp.c++/c++.exp: Add libstdc++-v3 build includes
1194         to C++ testsuite default compiler options.
1195         * testsuite/libgomp.c++/collapse-1.C: New test.
1196         * testsuite/libgomp.c++/collapse-2.C: New test.
1197         * testsuite/libgomp.c++/ctor-10.C: New test.
1198         * testsuite/libgomp.c++/for-1.C: New test.
1199         * testsuite/libgomp.c++/for-2.C: New test.
1200         * testsuite/libgomp.c++/for-3.C: New test.
1201         * testsuite/libgomp.c++/for-4.C: New test.
1202         * testsuite/libgomp.c++/for-5.C: New test.
1203         * testsuite/libgomp.c++/loop-8.C: New test.
1204         * testsuite/libgomp.c++/loop-9.C: New test.
1205         * testsuite/libgomp.c++/loop-10.C: New test.
1206         * testsuite/libgomp.c++/task-1.C: New test.
1207         * testsuite/libgomp.c++/task-2.C: New test.
1208         * testsuite/libgomp.c++/task-3.C: New test.
1209         * testsuite/libgomp.c++/task-4.C: New test.
1210         * testsuite/libgomp.c++/task-5.C: New test.
1211         * testsuite/libgomp.c++/task-6.C: New test.
1212         * testsuite/libgomp.fortran/allocatable1.f90: New test.
1213         * testsuite/libgomp.fortran/allocatable2.f90: New test.
1214         * testsuite/libgomp.fortran/allocatable3.f90: New test.
1215         * testsuite/libgomp.fortran/allocatable4.f90: New test.
1216         * testsuite/libgomp.fortran/collapse1.f90: New test.
1217         * testsuite/libgomp.fortran/collapse2.f90: New test.
1218         * testsuite/libgomp.fortran/collapse3.f90: New test.
1219         * testsuite/libgomp.fortran/collapse4.f90: New test.
1220         * testsuite/libgomp.fortran/lastprivate1.f90: New test.
1221         * testsuite/libgomp.fortran/lastprivate2.f90: New test.
1222         * testsuite/libgomp.fortran/lib4.f90: New test.
1223         * testsuite/libgomp.fortran/lock-1.f90: New test.
1224         * testsuite/libgomp.fortran/lock-2.f90: New test.
1225         * testsuite/libgomp.fortran/nested1.f90: New test.
1226         * testsuite/libgomp.fortran/nestedfn4.f90: New test.
1227         * testsuite/libgomp.fortran/strassen.f90: New test.
1228         * testsuite/libgomp.fortran/tabs1.f90: New test.
1229         * testsuite/libgomp.fortran/tabs2.f: New test.
1230         * testsuite/libgomp.fortran/task1.f90: New test.
1231         * testsuite/libgomp.fortran/task2.f90: New test.
1232         * testsuite/libgomp.fortran/vla4.f90: Add dg-warning.
1233         * testsuite/libgomp.fortran/vla5.f90: Likewise.
1234         * testsuite/libgomp.c/pr26943-2.c: Likewise.
1235         * testsuite/libgomp.c/pr26943-3.c: Likewise.
1236         * testsuite/libgomp.c/pr26943-4.c: Likewise.
1237
1238 2008-05-23  Jakub Jelinek  <jakub@redhat.com>
1239
1240         PR c++/36308
1241         * testsuite/libgomp.c++/ctor-11.C: New test.
1242         * testsuite/libgomp.c++/ctor-12.C: New test.
1243
1244 2008-05-15  Janis Johnson  <janis187@us.ibm.com>
1245
1246         * testsuite/lib/libgomp.exp: Load torture-options.exp from gcc lib.
1247
1248 2008-05-07  Jakub Jelinek  <jakub@redhat.com>
1249
1250         PR middle-end/36106
1251         * testsuite/libgomp.c/atomic-5.c: New test.
1252         * testsuite/libgomp.c/atomic-6.c: New test.
1253         * testsuite/libgomp.c/autopar-1.c: New test.
1254
1255 2008-04-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1256
1257         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS)
1258         (LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY)
1259         (LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT)
1260         (LIBGOMP_CHECK_ATTRIBUTE_ALIAS): Fix cache variable names.
1261         * configure: Regenerate.
1262         * Makefile.in, testsuite/Makefile.in: Likewise.
1263
1264 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
1265
1266         PR bootstrap/35457
1267         * aclocal.m4: Regenerate.
1268         * configure: Regenerate.
1269
1270 2008-03-18  Jakub Jelinek  <jakub@redhat.com>
1271
1272         PR middle-end/35611
1273         * testsuite/libgomp.c/atomic-4.c: New test.
1274
1275         PR libgomp/35625
1276         * iter.c (gomp_iter_guided_next_locked): If q > n, set end to ws->end.
1277         (gomp_iter_guided_next): Likewise.
1278         * testsuite/libgomp.c/pr35625.c: New test.
1279
1280 2008-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1281
1282         * aclocal.m4: Regenerate.
1283         * configure: Likewise.
1284         * Makefile.in: Likewise.
1285         * testsuite/Makefile.in: Likewise.
1286
1287 2008-03-13  Jakub Jelinek  <jakub@redhat.com>
1288
1289         PR middle-end/35185
1290         * testsuite/libgomp.c++/pr35185.C: New test.
1291
1292 2008-03-12  Jakub Jelinek  <jakub@redhat.com>
1293
1294         PR middle-end/35549
1295         * testsuite/libgomp.c/pr35549.c: New test.
1296
1297 2008-03-06  Jakub Jelinek  <jakub@redhat.com>
1298
1299         * testsuite/libgomp.c/atomic-3.c: New test.
1300
1301 2008-03-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1302
1303         PR fortran/33197
1304         * testsuite/libgomp.fortran/fortran.exp: Add .f08 and
1305         .F08 file suffixes.
1306
1307 2008-03-03  Peter O'Gorman  <pogma@thewrittenword.com>
1308
1309         PR libgomp/33131
1310         * configure.ac: Add ACX_HEADER_STRING.
1311         * env.c: Include strings.h.
1312         * aclocal.m4: Regenerate.
1313         * config.h.in: Regenerate.
1314         * configure: Regenerate.
1315         * Makefile.in: Regenerate.
1316         * testsuite/Makefile.in: Regenerate.
1317
1318 2008-02-15  Jakub Jelinek  <jakub@redhat.com>
1319
1320         PR middle-end/35196
1321         * testsuite/libgomp.c/pr35196.c: New test.
1322
1323         PR middle-end/35130
1324         * testsuite/libgomp.fortran/pr35130.f90: New test.
1325         * testsuite/libgomp.c/pr35130.c: New test.
1326
1327 2008-01-25  Jakub Jelinek  <jakub@redhat.com>
1328
1329         PR middle-end/33880
1330         * testsuite/libgomp.c/pr33880.c: New test.
1331         * testsuite/libgomp.fortran/pr33880.f90: New test.
1332
1333 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
1334
1335         * configure: Regenerate.
1336
1337 2008-01-08  Jakub Jelinek  <jakub@redhat.com>
1338
1339         * configure.ac: Move futex checking into ../config/futex.m4.
1340         * configure: Rebuilt.
1341         * aclocal.m4: Rebuilt.
1342         * Makefile.in: Rebuilt.
1343
1344         * configure.tgt: Rename have_tls to gcc_cv_have_tls to match
1345         2007-10-15 ../config/tls.m4 change.
1346
1347 2007-12-19  Jakub Jelinek  <jakub@redhat.com>
1348
1349         PR c++/34513
1350         * testsuite/libgomp.c/pr34513.c: New test.
1351         * testsuite/libgomp.c++/pr34513.C: New test.
1352
1353 2007-12-17  Jack Howarth  <howarth@bromo.med.uc.edu>
1354
1355         PR target/32765
1356         * testsuite/libgomp.fortran/crayptr2.f90: Move dg-options for darwin.
1357
1358 2007-12-04  Jakub Jelinek  <jakub@redhat.com>
1359
1360         * omp.h.in (__GOMP_NOTHROW): Define.  Use it on omp_* prototypes.
1361
1362 2007-12-03  Jakub Jelinek  <jakub@redhat.com>
1363
1364         * testsuite/libgomp.c/private-1.c: New test.
1365
1366 2007-11-29  Andris Pavenis <andris.pavenis@iki.fi>
1367             Paolo Bonzini  <bonzini@gnu.org>
1368
1369         * Makefile.am: Use space as vpath separator.  Use 'vpath %'
1370         instead of 'VPATH ='.
1371         * Makefile.in: Regenerate.
1372
1373 2007-11-23  Matthias Klose  <doko@ubuntu.com>
1374
1375         * configure.ac: Adjust makeinfo version check.
1376         * configure: Regenerate.
1377
1378 2007-11-10  Jakub Jelinek  <jakub@redhat.com>
1379
1380         PR fortran/34020
1381         * testsuite/libgomp.fortran/pr34020.f90: New test.
1382
1383 2007-11-06  Jakub Jelinek  <jakub@redhat.com>
1384
1385         PR c++/33894
1386         * testsuite/libgomp.c++/atomic-1.C: New test.
1387
1388 2007-10-25  Jakub Jelinek  <jakub@redhat.com>
1389
1390         PR libgomp/33275
1391         * testsuite/libgomp.fortran/omp_parse3.f90 (test_threadprivate):
1392         Make x and y integers rather than (implicit) reals.  Add private (j)
1393         clause to the last omp parallel.
1394
1395 2007-10-15  Maciej W. Rozycki  <macro@linux-mips.org>
1396
1397         * configure: Regenerate following changes to ../config/tls.m4.
1398
1399 2007-09-28  Jakub Jelinek  <jakub@redhat.com>
1400
1401         * testsuite/libgomp.fortran/stack.f90: New test.
1402
1403 2007-09-10  Danny Smith  <dannysmith@users.sourceforge.net>
1404
1405         * config/mingw32/proc.c: New file.
1406
1407 2007-09-05  Uros Bizjak  <ubizjak@gmail.com>
1408
1409         * testsuite/libgomp.c/atomic-1.c: Include cpuid.h for i386 targets.
1410         (main): Use __get_cpuid to get i386 target fetaures.
1411         * testsuite/libgomp.c/atomic-2.c: Include cpuid.h for x86_64 targets.
1412         (main): Use __get_cpuid to get x86_64 target fetaures.
1413
1414 2007-08-15  Jack Howarth  <howarth@bromo.med.uc.edu>
1415
1416         PR target/32765
1417         * testsuite/libgomp.fortran/pr32550.f90: Use -static-libgcc on Darwin.
1418         * testsuite/libgomp.fortran/crayptr2.f90: Likwise.
1419
1420 2007-07-12  Jakub Jelinek  <jakub@redhat.com>
1421
1422         PR fortran/32550
1423         * testsuite/libgomp.fortran/pr32550.f90: New test.
1424         * testsuite/libgomp.fortran/crayptr2.f90: New test.
1425
1426 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1427
1428         * aclocal.m4: Regenerated.
1429
1430 2007-07-05  Tobias Burnus  <burnus@net-b.de>
1431
1432         PR fortran/32359
1433         * testsuite/libgomp.fortran/pr32359.f90: New.
1434
1435 2007-07-02  Jakub Jelinek  <jakub@redhat.com>
1436
1437         PR libgomp/32468
1438         * sections.c (GOMP_parallel_sections_start): Only decrease
1439         number of threads to COUNT if dyn_var is true.
1440         * testsuite/libgomp.c/pr32468.c: New test.
1441
1442 2007-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1443
1444         PR libgomp/26308
1445         * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
1446
1447 2007-06-21  Jakub Jelinek  <jakub@redhat.com>
1448
1449         PR middle-end/32362
1450         * testsuite/libgomp.c/pr32362-1.c: New test.
1451         * testsuite/libgomp.c/pr32362-2.c: New test.
1452         * testsuite/libgomp.c/pr32362-3.c: New test.
1453
1454 2007-06-07  Jakub Jelinek  <jakub@redhat.com>
1455
1456         * team.c (gomp_team_start): Fix setting up thread_attr
1457         stack size.
1458
1459 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
1460
1461         * configure: Regenerate.
1462
1463 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
1464
1465         * Makefile.in: Regenerate.
1466         * configure: Regenerate.
1467         * aclocal.m4: Regenerate.
1468         * testsuite/Makefile.in: Regenerate.
1469
1470 2007-05-04  Jakub Jelinek  <jakub@redhat.com>
1471
1472         * config/linux/proc.c: New file.
1473
1474         PR libgomp/28482
1475         * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.
1476
1477 2007-04-19  Daniel Franke  <franke.daniel@gmail.com>
1478
1479         * libgomp.texi (GOMP_CPU_AFFINITY): Updated.
1480
1481 2007-04-16  Matthias Klose  <doko@debian.org>
1482
1483         * configure.tgt (i[456]86-*-linux*): Only add ia32 specific
1484         flags if not building with -m64.
1485         * testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march
1486         flag for i?86-*-* targets, if current target matches -m64.
1487
1488 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
1489
1490         * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
1491         * Makefile.in: Regenerate.
1492
1493 2007-04-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1494
1495         PR testsuite/31369
1496         * testsuite/libgomp.c++/c++.exp: Don't use concat when setting
1497         ld_library_path.
1498         * testsuite/libgomp.fortran/fortran.exp: Likewise.
1499
1500 2007-04-04  Jakub Jelinek  <jakub@redhat.com>
1501
1502         * libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New extern
1503         decls.
1504         (gomp_init_affinity, gomp_init_thread_affinity): New prototypes.
1505         * env.c (gomp_cpu_affinity, gomp_cpu_affinity_len): New variables.
1506         (parse_affinity): New function.
1507         (initialize_env): Call it and gomp_init_affinity.
1508         * team.c (gomp_team_start): If gomp_cpu_affinity != NULL,
1509         create new pthread_attr_t and call gomp_init_thread_affinity
1510         on it for each thread before passing the attribute to pthread_create.
1511         * config/linux/affinity.c: New file.
1512         * config/posix/affinity.c: New file.
1513         * configure.ac (HAVE_PTHREAD_AFFINITY_NP): New test.
1514         * configure: Rebuilt.
1515         * config.h.in: Rebuilt.
1516         * Makefile.am (libgomp_la_SOURCES): Add affinity.c.
1517         * Makefile.in: Rebuilt.
1518
1519 2007-03-23  Andreas Tobler  <a.tobler@schweiz.org>
1520
1521         * testsuite/lib/libgomp.exp (libgomp_init): Add -shared-libgcc for
1522         *-*-darwin*.
1523         * testsuite/libgomp.c++/c++.exp: Look for shared libstdc++ library
1524         and use it if found.
1525
1526 2007-03-18  Uros Bizjak  <ubizjak@gmail.com>
1527
1528         * testsuite/config/default.exp: New file.
1529         * testsuite/lib/libgomp.exp: New file.
1530         * testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init,
1531         libgomp_target_compile, libgomp_option_help, libgomp_option_proc,
1532         load_lib *, load_gcc_lib *): Move to libgomp.exp.
1533         (libgomp_load): Remove.
1534         * testsuite/lib/libgomp.exp (libgomp_init): Compute
1535         always_ld_library_path, not ld_library_path.  Set additional_flags
1536         to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets.
1537         (target_compile): Do not call libgomp_init.  Append lang_library_path
1538         and lang_link_flags to options.
1539         * testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2.  Set
1540         ld_library_path from always_ld_library_path.  Set LD_LIBRARY_PATH
1541         here.
1542         * testsuite/libgomp.c++/c++.exp: Set ld_library_path from
1543         always_ld_library_path.  Set LD_LIBRARY_PATH here.
1544         * testsuite/libgomp.fortran/fortran.exp: Ditto.
1545         * testsuite/libgomp.c/atomic-1.c: Set dg-options to
1546         "-O2 -march=pentium" for ilp32 x86 targets. Simplify check for
1547         CX8 flag.
1548         * testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for
1549         lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3.
1550         * testsuite/libgomp.c/pr29947-1.c: Remove default dg-options.
1551         * testsuite/libgomp.c/pr29947-1.c: Ditto.
1552         * testsuite/libgomp.c/atomic-10.c: Ditto.
1553
1554 2007-03-21  Jakub Jelinek  <jakub@redhat.com>
1555
1556         * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add
1557         dg-final cleanup-modules line.
1558         * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise.
1559         * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise.
1560         * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise.
1561         * testsuite/libgomp.fortran/threadprivate2.f90: Likewise.
1562         * testsuite/libgomp.fortran/reduction5.f90: Likewise.
1563         * testsuite/libgomp.fortran/threadprivate3.f90: Likewise.
1564         * testsuite/libgomp.fortran/threadprivate1.f90: Likewise.
1565
1566 2007-03-18  Andreas Schwab  <schwab@suse.de>
1567
1568         * acinclude.m4: Adjust regular expression for ld version
1569         extraction.
1570         * configure: Regenerate.
1571
1572 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
1573
1574         * Makefile.am: Add install-pdf target as copied from
1575         automake v1.10 rules.
1576         * Makefile.in: Regenerate
1577
1578 2007-02-07  Jakub Jelinek  <jakub@redhat.com>
1579
1580         PR libgomp/28486
1581         * configure: Regenerate.
1582
1583         PR c++/30703
1584         * testsuite/libgomp.c++/pr30703.C: New test.
1585
1586 2007-02-02  Jakub Jelinek  <jakub@redhat.com>
1587
1588         Revert:
1589         2006-07-05  Eric Christopher  <echristo@apple.com>
1590         * configure.ac: Depend addition of -pthread on host OS.
1591         * configure: Regenerate.
1592
1593 2007-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1594
1595         * libgomp.texi: Fix spacing after abbreviations.
1596
1597 2007-01-31  Daniel Franke <franke.daniel@gmail.com>
1598
1599         PR libgomp/30546
1600         * configure.ac: Add check for makeinfo
1601         * Makefile.am: Redefined target libgomp.info, build libgomp.info only
1602         if an appropiate version of makeinfo is found.
1603         * aclocal.m4: Regenerated.
1604         * configure: Regenerated.
1605         * Makefile.in: Regenerated.
1606         * testsuite/Makefile.in: Regenerated.
1607
1608 2007-01-29  Daniel Franke <franke.daniel@gmail.com>
1609
1610         PR libgomp/30540
1611         * libgomp.texi: More about implementation-dependent settings.
1612
1613 2007-01-26  Tobias Burnus  <burnus@net-b.de>
1614
1615         * testsuite/libgomp.fortran/fortran.exp: Support .f03 extension.
1616
1617 2007-01-24  Jakub Jelinek  <jakub@redhat.com>
1618
1619         PR middle-end/30494
1620         * testsuite/libgomp.c/pr30494.c: New test.
1621
1622 2007-01-15  Tom Tromey  <tromey@redhat.com>
1623
1624         * configure: Rebuilt.
1625         * configure.ac: Fixed comment.
1626
1627 2007-01-14  Daniel Franke  <franke.daniel@gmail.com>
1628
1629         * libgomp.texi: Document implementation specific default values of
1630         environment variables.
1631
1632 2006-12-21  Daniel Franke  <franke.daniel@gmail.com>
1633
1634         PR libgomp/28209
1635         * libgomp.texi: New file.
1636         * configure.ac: Add --enable-generated-files-in-srcdir option.
1637         * Makefile.am: Add info, dvi, pdf, html targets. On request, copy
1638         files to srcdir.
1639         * Makefile.in: Regenerated.
1640         * config.h.in: Regenerated.
1641         * testsuite/Makefile.in: Regenerated.
1642         * NOTES: Removed.
1643
1644 2006-12-04  Daniel Franke  <franke.daniel@gmail.com>
1645
1646         PR libgomp/29949
1647         * env.c (omp_set_num_threads): Set illegal thread count to 1.
1648
1649 2006-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
1650
1651         * configure: Regenerate.
1652
1653 2006-12-04  Jakub Jelinek  <jakub@redhat.com>
1654
1655         PR libgomp/29947
1656         * loop.c (gomp_loop_init): Make parameters signed.  Set ws->end to
1657         start if there shouldn't be any loop iterations.
1658         (gomp_loop_ordered_static_start): Remove start == end test.
1659         * testsuite/libgomp.c/pr29947-1.c: New test.
1660         * testsuite/libgomp.c/pr29947-2.c: New test.
1661
1662 2006-12-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
1663
1664         * configure.tgt: Force initial-exec TLS model on Linux only.
1665
1666 2006-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
1667
1668         * configure: Regenerated.
1669
1670 2006-11-09  Uros Bizjak  <ubizjak@gmail.com>
1671
1672         * env.c (parse_schedule): Reject out of range values.
1673         (parse_unsigned_long): Reject out of range, negative or zero values.
1674
1675 2006-10-29  Jakub Jelinek  <jakub@redhat.com>
1676
1677         PR fortran/29629
1678         * testsuite/libgomp.fortran/pr29629.f90: New test.
1679
1680 2006-10-24  Eric Botcazou  <ebotcazou@libertysurf.fr>
1681
1682         PR libgomp/29494
1683         * configure.tgt: Use posix95 configuration for Solaris 2.5.1 and 2.6.
1684         * config/posix95: New directory.
1685         * config/posix95/omp-lock.h: New file.
1686         * config/posix95/lock.c: Likewise.
1687
1688 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
1689
1690         * aclocal.m4: Regenerate.
1691         * configure: Regenerate.
1692
1693 2006-10-05  Danny Smith  <dannysmith@users.sourceforge.net>
1694
1695         * testsuite/libgomp.c/barrier-1.c: Change timestamp tests from
1696         '<' to '<='.
1697
1698 2006-10-05  Danny Smith  <dannysmith@users.sourceforge.net>
1699
1700         * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from
1701         test.
1702         * configure: Regenerate.
1703         * fortran.c  (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias.
1704
1705 2006-09-26  Jakub Jelinek  <jakub@redhat.com>
1706
1707         PR middle-end/25261
1708         PR middle-end/28790
1709         * testsuite/libgomp.c/nestedfn-4.c: New test.
1710         * testsuite/libgomp.c/nestedfn-5.c: New test.
1711         * testsuite/libgomp.fortran/nestedfn3.f90: New test.
1712
1713         PR fortran/29097
1714         * testsuite/libgomp.fortran/condinc1.f: New test.
1715         * testsuite/libgomp.fortran/condinc2.f: New test.
1716         * testsuite/libgomp.fortran/condinc3.f90: New test.
1717         * testsuite/libgomp.fortran/condinc4.f90: New test.
1718         * testsuite/libgomp.fortran/condinc1.inc: New file.
1719
1720 2006-09-18  Tom Tromey  <tromey@redhat.com>
1721
1722         * configure: Rebuilt.
1723
1724 2006-09-13  Joseph S. Myers  <joseph@codesourcery.com>
1725
1726         PR c/28768
1727         PR preprocessor/14634
1728         * configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument
1729         to AC_DEFINE.
1730         * configure: Regenerate.
1731
1732 2006-09-08  Steven G. Kargl  <kargl@gcc.gnu.org>
1733
1734         * testsuite/libgomp.fortran/reduction3.f90: Change
1735         -2147483648 to -huge(i)-1 to avoid overflow.
1736         * testsuite/libgomp.fortran/reduction4.f90: Change
1737         Z'ffffffff' to not(0) to avoid overflow.
1738
1739 2006-08-26  Joseph S. Myers  <joseph@codesourcery.com>
1740
1741         PR libgomp/25938
1742         * Makefile.am (libsubincludedir): New.
1743         (nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
1744         * Makefile.in: Regenerate.
1745
1746 2006-08-17  Jakub Jelinek  <jakub@redhat.com>
1747
1748         PR libgomp/28725
1749         * env.c: Include ctype.h.
1750         (parse_schedule, parse_unsigned_long, parse_boolean): Allow
1751         leading and/or trailing whitespace and compare strings case
1752         insensitively.
1753
1754 2006-07-16  Jakub Jelinek  <jakub@redhat.com>
1755
1756         PR fortran/28390
1757         * testsuite/libgomp.fortran/pr28390.f: New test.
1758
1759 2006-07-05  Eric Christopher  <echristo@apple.com>
1760
1761         * configure.ac: Depend addition of -pthread on host OS.
1762         * configure: Regenerate.
1763
1764 2006-06-21  Jakub Jelinek  <jakub@redhat.com>
1765
1766         * critical.c (GOMP_critical_name_start): Fix *pptr initialization
1767         when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is
1768         defined.
1769
1770 2006-06-20  Jakub Jelinek  <jakub@redhat.com>
1771
1772         PR libgomp/26175
1773         PR libgomp/26477
1774         * configure.ac: If neither --enable-linux-futex nor
1775         --disable-linux-futex is passed, determine the default by checking
1776         for compiling and/or running against NPTL.  With --enable-linux-futex,
1777         check if SYS_gettid and SYS_futex are defined.
1778         * configure: Rebuilt.
1779
1780 2006-06-14  Richard Henderson  <rth@redhat.com>
1781
1782         PR libgomp/28008
1783         * env.c (initialize_env): Avoid using PTHREAD_STACK_MIN when
1784         undefined.  Use GOMP_STACKSIZE not OMP_STACKSIZE for environment.
1785
1786 2006-06-09  Richard Henderson  <rth@redhat.com>
1787
1788         * env.c (gomp_nthreads_var): Change to unsigned long.
1789         (gomp_run_sched_chunk): Likewise.
1790         (parse_unsigned_long): Rename from parse_num_threads and generalize.
1791         (initialize_env): Initialize gomp_thread_attr.
1792         * libgomp.h (gomp_nthreads_var): Update decl.
1793         (gomp_run_sched_chunk): Likewise.
1794         (gomp_thread_attr): Declare.
1795         * team.c (gomp_thread_attr): Export.
1796         (initialize_team): Don't initialize it.
1797
1798 2006-06-09  Jakub Jelinek  <jakub@redhat.com>
1799
1800         PR fortran/27916
1801         * testsuite/libgomp.fortran/pr27916-1.f90: New test.
1802         * testsuite/libgomp.fortran/pr27916-2.f90: New test.
1803
1804 2006-06-06  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1805
1806         * config/mingw32/time.c: New file.
1807         * configure.tgt: Use it.
1808
1809 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
1810
1811         * Makefile.am: Add install-html target. Add install-html to .PHONY
1812         * Makefile.in: Regenerate.
1813
1814 2006-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1815
1816         PR libgomp/27612
1817         * testsuite/libgomp.c/sections-1.c: Require sync_int_long.
1818         * testsuite/libgomp.c/critical-1.c: Likewise.
1819         * testsuite/libgomp.c/loop-1.c: Likewise.
1820         * testsuite/libgomp.c/loop-2.c: Likewise.
1821         * testsuite/libgomp.c/single-1.c: Likewise.
1822         * testsuite/libgomp.c/ordered-1.c: Likewise.
1823         * testsuite/libgomp.c/ordered-2.c: Likewise.
1824
1825 2006-05-15  Jakub Jelinek  <jakub@redhat.com>
1826
1827         PR middle-end/27416
1828         * libgomp.fortran/pr27416-1.f90: New test.
1829
1830 2006-05-03  Jakub Jelinek  <jakub@redhat.com>
1831
1832         PR fortran/27395
1833         * testsuite/libgomp.fortran/pr27395-1.f90: New test.
1834         * testsuite/libgomp.fortran/pr27395-2.f90: New test.
1835
1836 2006-05-02  Jakub Jelinek  <jakub@redhat.com>
1837
1838         PR c++/26943
1839         * testsuite/libgomp.c/pr26943-1.c: New test.
1840         * testsuite/libgomp.c/pr26943-2.c: New test.
1841         * testsuite/libgomp.c/pr26943-3.c: New test.
1842         * testsuite/libgomp.c/pr26943-4.c: New test.
1843         * testsuite/libgomp.c++/pr27337.C: Remove barrier.
1844         * testsuite/libgomp.c++/pr26943.C: New test.
1845
1846 2006-05-02  Jakub Jelinek  <jakub@redhat.com>
1847
1848         PR middle-end/27337
1849         * testsuite/libgomp.c++/pr27337.C: New test.
1850
1851 2006-04-26  Jakub Jelinek  <jakub@redhat.com>
1852
1853         PR c/26171
1854         * testsuite/libgomp.c/pr26171.c: New test.
1855
1856 2006-04-25  Richard Henderson  <rth@redhat.com>
1857
1858         PR libgomp/25865
1859         * configure.ac: Use GCC_CHECK_TLS.
1860         * acinclude.m4 (LIBGOMP_CHECK_TLS): Remove.
1861         * Makefile.in, aclocal.m4, configure: Regenerate.
1862
1863 2006-04-10  Matthias Klose  <doko@debian.org>
1864
1865         * testsuite/lib/libgomp.exp (libgomp_init): Recognize multilib
1866         directory names containing underscores.
1867
1868 2006-03-21  Jakub Jelinek  <jakub@redhat.com>
1869
1870         PR c++/26691
1871         * testsuite/libgomp.c++/pr26691.C: New test.
1872
1873 2006-03-13  Jakub Jelinek  <jakub@redhat.com>
1874
1875         * testsuite/libgomp.fortran/retval2.f90: New test.
1876
1877 2006-03-09  Diego Novillo  <dnovillo@redhat.com>
1878
1879         * testsuite/libgomp.c++: New directory.
1880
1881 2006-02-25  Shantonu Sen  <ssen@opendarwin.org>
1882
1883         * config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions.
1884         * config/posix/sem.c: Implement the above.
1885
1886 2006-02-25  Andreas Tobler  <a.tobler@schweiz.ch>
1887
1888         * configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and
1889         define HAVE_BROKEN_POSIX_SEMAPHORES.
1890         * configure: Rebuilt.
1891         * config.h.in: Rebuilt.
1892
1893 2006-02-17  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1894
1895         PR bootstrap/26161
1896         * configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment
1897         for the other pthread check.
1898         * configure: Regenerate.
1899         * config.h.in: Regenerate.
1900
1901 2006-02-15  Jakub Jelinek  <jakub@redhat.com>
1902
1903         PR libgomp/25938
1904         PR libgomp/25984
1905         * Makefile.am (fincludedir): New variable.
1906         (nodist_include_HEADERS): Remove Fortran files.
1907         (nodist_finclude_HEADERS): New variable.
1908         * Makefile.in: Regenerated.
1909
1910 2006-02-13  Jakub Jelinek  <jakub@redhat.com>
1911
1912         * testsuite/libgomp.fortran/vla7.f90: Add -w to options.
1913         Remove tests for returning assumed character length arrays.
1914
1915 2006-02-12  Roger Sayle  <roger@eyesopen.com>
1916             John David Anglin  <dave@hiauly1.hia.nrc.ca>
1917
1918         PR libgomp/25936
1919         * configure.tgt: Link against -lrt for sem_init on HPUX v11 systems.
1920
1921 2006-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
1922
1923         * testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library.
1924
1925 2006-02-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
1926
1927         * testsuite/lib/libgomp-dg.exp (libgomp_init): Compute multilib related
1928         part of LD_LIBRARY_PATH manually.
1929
1930 2006-02-03  H.J. Lu  <hongjiu.lu@intel.com>
1931
1932         PR libgomp/25852
1933         * testsuite/lib/libgomp-dg.exp (blddir): Set it in
1934         libgomp_init.
1935
1936 2005-01-25  Paolo Bonzini  <bonzini@gnu.org>
1937
1938         PR libgomp/25884
1939         * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove.
1940         * configure.ac (PERL): Don't set.
1941         (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here.
1942         (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE,
1943         OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions.
1944         * omp.h.in: Wrap the new configure substitutions with @ characters.
1945         * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise.
1946         * aclocal.m4, configure, Makefile.in: Regenerate.
1947         * mkomp_h.pl: Delete.
1948
1949 2005-01-24  Paolo Bonzini  <bonzini@gnu.org>
1950
1951         PR libgomp/25259
1952         * configure.ac: Use GCC_HEADER_STDINT.
1953         * libgomp.h: Include gstdint.h.
1954         * libgomp_f.h.in: Don't include stdint.h or inttypes.h.
1955         * configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild.
1956
1957 2006-01-24  Richard Henderson  <rth@redhat.com>
1958
1959         PR libgomp/25942
1960         * configure.ac: Add AM_MAINTAINER_MODE.
1961         * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild.
1962
1963 2006-01-24  Diego Novillo  <dnovillo@redhat.com>
1964
1965         * Makefile.in: Regenerate.
1966         * testsuite/Makefile.in: Regenerate.
1967         * aclocal.m4: Regenerate.
1968
1969 2006-01-23  Andreas Tobler  <a.tobler@schweiz.ch>
1970
1971         * config/posix/proc.c: Conditional include of sys/loadavg.h for
1972         Solaris.
1973         * configure.ac: Add check for loadavg.h.
1974         (link_gomp): Adjust comment.
1975         * configure: Regenerate.
1976         * config.h.in: Regenerate.
1977
1978 2006-01-21  Steve Ellcey  <sje@cup.hp.com>
1979
1980         PR libgomp/25877
1981         * configure.ac: Remove check for alloca.h.
1982         * configure: Regenerate.
1983         * config.h.in: Regenerate.
1984         * libgomp.h: define gomp_alloca to be __builtin_alloca.
1985         * team.c: Remove use of alloca.h.
1986         Call gomp_alloca instead of alloca.
1987
1988 2006-01-20  Steve Ellcey  <sje@cup.hp.com>
1989
1990         PR libgomp/25877
1991         * team.c: Add include of alloca.h.
1992         * configure.ac: Add check for alloca.h.
1993         * configure: Regenerate.
1994         * config.h.in: Regenerate.
1995
1996 2006-01-17  Jakub Jelinek  <jakub@redhat.com>
1997
1998         PR fortran/25219
1999         * testsuite/libgomp.fortran/pr25219.f90: New test.
2000
2001 2005-12-05  Uros Bizjak  <uros@kss-loka.si>
2002
2003         * testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c,
2004         testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c,
2005         testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
2006         testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
2007         testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C,
2008         testsuite/libgomp.fortran/threadprivate1.f90,
2009         testsuite/libgomp.fortran/threadprivate2.f90,
2010         testsuite/libgomp.fortran/threadprivate3.f90,
2011         testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
2012         testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
2013         testsuite/libgomp.fortran/omp_parse3.f90: Change required
2014         effective-target to TLS runtime.
2015
2016         * testsuite/libgomp.fortran/pr25162.f: Require
2017         effective-target TLS runtime.
2018
2019 2005-12-01  Jakub Jelinek  <jakub@redhat.com>
2020
2021         * testsuite/libgomp.fortran/nestedfn2.f90: New test.
2022         * testsuite/libgomp.c/nestedfn-3.c: New test.
2023
2024 2005-11-30  Jakub Jelinek  <jakub@redhat.com>
2025
2026         PR fortran/25162
2027         * testsuite/libgomp.fortran/pr25162.f: New test.
2028
2029 2005-11-28  Jakub Jelinek  <jakub@redhat.com>
2030
2031         * config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to
2032         CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed.
2033
2034 2005-11-25  Jakub Jelinek  <jakub@redhat.com>
2035
2036         * alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c,
2037         libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in,
2038         omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c,
2039         single.c, team.c, work.c, config/linux/alpha/futex.h,
2040         config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h,
2041         config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h,
2042         config/linux/powerpc/futex.h, config/linux/s390/futex.h,
2043         config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h,
2044         config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h,
2045         config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c,
2046         config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update
2047         FSF address.
2048
2049 2005-11-18  Jakub Jelinek  <jakub@redhat.com>
2050
2051         * Makefile.am: Move libgomp_f.h from nodist_include_HEADERS
2052         to nodist_noinst_HEADERS.
2053         * Makefile.in: Rebuilt.
2054
2055         * config/posix/omp-lock.h (omp_nest_lock_t): Change into struct,
2056         add integer count field.
2057         * config/posix/lock.c (omp_destroy_nest_lock): Adjust for
2058         omp_nest_lock_t type change.
2059         (omp_init_nest_lock): Likewise.  Initialize count to 0.
2060         (omp_set_nest_lock): Adjust for omp_nest_lock_t type change.
2061         Increment count.
2062         (omp_unset_nest_lock): Adjust for omp_nest_lock_t type change.
2063         Decrement count.
2064         (omp_test_nest_lock): Adjust for omp_nest_lock_t type change.
2065         Increment count if successful and return the new nesting level.
2066         * config/linux/lock.c (omp_test_nest_lock): Return new nesting level.
2067         * omp_lib.f90.in (omp_test_lock): Fix LOCK argument type.
2068         * testsuite/libgomp.c/lib-1.c: New test.
2069         * testsuite/libgomp.fortran/lib1.f90: New test.
2070         * testsuite/libgomp.fortran/lib2.f: New test.
2071         * testsuite/libgomp.fortran/lib3.f: New test.
2072
2073 2005-11-17  Richard Henderson  <rth@redhat.com>
2074
2075         PR 24845
2076         * Makefile.am (nodist_toolexeclib_HEADERS): New.
2077         * configure.ac (link_gomp): New.  Substitute it.
2078         (AC_CONFIG_FILES): Add libgomp.spec.
2079         * libgomp.spec.in: New file.
2080         * Makefile.in, testsuite/Makefile.in, configure: Rebuild.
2081         * testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags.
2082
2083 2005-11-18  Jakub Jelinek  <jakub@redhat.com>
2084
2085         * testsuite/libgomp.fortran/reduction1.f90: Adjust for
2086         reduction(-:var) behaving the same as reduction(+:var).
2087         * testsuite/libgomp.c/reduction-4.c: New test.
2088
2089 2005-11-15  Uros Bizjak  <uros@kss-loka.si>
2090
2091         * testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c,
2092         testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c,
2093         testsuite/libgomp.c/copyin-3.c,
2094         testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
2095         testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
2096         testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C,
2097         testsuite/libgomp.c++/pr24455.C,
2098         testsuite/libgomp.fortran/threadprivate1.f90,
2099         testsuite/libgomp.fortran/threadprivate2.f90,
2100         testsuite/libgomp.fortran/threadprivate3.f90,
2101         testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
2102         testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
2103         testsuite/libgomp.fortran/omp_parse3.f90: Require
2104         effective-target TLS.
2105
2106 2005-11-14  Diego Novillo  <dnovillo@redhat.com>
2107
2108         * HEADER: Remove.
2109
2110 2005-11-13  Jakub Jelinek  <jakub@redhat.com>
2111
2112         PR libgomp/24797
2113         * team.c (initialize_team): Pass NULL rather than free as
2114         pthread_key_create destructor.  Initialize thread specific data
2115         pointer in initial thread to a static local variable rather than
2116         malloced memory.
2117
2118 2005-11-11  Uros Bizjak  <uros@kss-loka.si>
2119
2120         * testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append
2121         its location to ld_library_path.
2122
2123 2005-11-10  Diego Novillo  <dnovillo@redhat.com>
2124
2125         * testsuite/libgomp.c/c.exp: Rename from dg.exp.
2126
2127 2005-11-10  Diego Novillo  <dnovillo@redhat.com>
2128
2129         * testsuite/libgomp.c: Rename from libgomp.dg.
2130
2131 2005-11-09  Diego Novillo  <dnovillo@redhat.com>
2132
2133         * testsuite/libgomp.c++/pr24455.C: Add copyin clause for
2134         threadprivate variable 'i'.
2135
2136 2005-11-09  Jakub Jelinek  <jakub@redhat.com>
2137
2138         * config/linux/s390/futex.h: New file.
2139         * configure.tgt: Use it.
2140
2141         * testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization
2142         before the parallel.
2143
2144 2005-11-08  Jakub Jelinek  <jakub@redhat.com>
2145
2146         PR c++/24734
2147         * testsuite/libgomp.c++/master-1.C: New test.
2148
2149 2005-11-07  Jakub Jelinek  <jakub@redhat.com>
2150
2151         * testsuite/libgomp.dg/copyin-3.c: New test.
2152
2153 2005-11-07  Jakub Jelinek  <jakub@redhat.com>
2154
2155         * testsuite/libgomp.fortran/retval1.f90: New test.
2156         * testsuite/libgomp.fortran/vla7.f90: New test.
2157
2158 2005-11-06  Jakub Jelinek  <jakub@redhat.com>
2159
2160         * testsuite/libgomp.fortran/vla2.f90: New test.
2161         * testsuite/libgomp.fortran/vla3.f90: New test.
2162         * testsuite/libgomp.fortran/vla4.f90: New test.
2163         * testsuite/libgomp.fortran/vla5.f90: New test.
2164         * testsuite/libgomp.fortran/vla6.f90: New test.
2165
2166 2005-11-01  Jakub Jelinek  <jakub@redhat.com>
2167
2168         * config/linux/sparc/futex.h: New file.
2169         * configure.tgt: Use it.
2170         * testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing.
2171
2172         * critical.c: Include stdlib.h.
2173         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about
2174         ignoring return value.
2175         * configure.ac: Don't put -Wc,-pthread into XCFLAGS until after
2176         LIBGOMP_CHECK_SYNC_BUILTINS check.
2177         * configure: Rebuilt.
2178
2179 2005-10-31  Jakub Jelinek  <jakub@redhat.com>
2180
2181         * testsuite/libgomp.fortran/vla1.f90: New test.
2182
2183 2005-10-31  Richard Henderson  <rth@redhat.com>
2184
2185         * testsuite/libgomp.fortran/character2.f90: Fix race condition
2186         setting 's' in different threads.
2187
2188 2005-10-31  Jakub Jelinek  <jakub@redhat.com>
2189
2190         * libgomp.h (attribute_hidden, ialias): Define.
2191         * config/posix/proc.c (omp_get_num_procs): Add ialias.
2192         * config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise.
2193         * config/posix/lock.c (omp_init_lock, omp_init_nest_lock,
2194         omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
2195         omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
2196         omp_test_lock, omp_test_nest_lock): Likewise.
2197         * config/linux/lock.c (omp_init_lock, omp_init_nest_lock,
2198         omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
2199         omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
2200         omp_test_lock, omp_test_nest_lock): Likewise.
2201         * env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads,
2202         omp_get_dynamic, omp_get_nested): Likewise.
2203         * parallel.c (omp_get_num_threads, omp_get_max_threads,
2204         omp_get_thread_num, omp_in_parallel): Likewise.
2205         * fortran.c (ialias_redirect): Define.
2206         (omp_init_lock, omp_init_nest_lock, omp_destroy_lock,
2207         omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock,
2208         omp_unset_lock, omp_unset_nest_lock, omp_test_lock,
2209         omp_test_nest_lock, omp_set_dynamic, omp_set_nested,
2210         omp_set_num_threads, omp_get_dynamic, omp_get_nested,
2211         omp_in_parallel, omp_get_max_threads, omp_get_num_procs,
2212         omp_get_num_threads, omp_get_thread_num, omp_get_wtick,
2213         omp_get_wtime): Add ialias_redirect.
2214
2215 2005-10-30  Jakub Jelinek  <jakub@redhat.com>
2216
2217         * fortran.c: Include stdlib.h.
2218
2219 2005-10-29  Jakub Jelinek  <jakub@redhat.com>
2220
2221         * Makefile.am (env.o, env.lo): Depend on libgomp_f.h.
2222         * Makefile.in: Regenerated.
2223
2224 2005-10-28  Jakub Jelinek  <jakub@redhat.com>
2225
2226         * mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE.
2227         * libgomp_f.h.in (omp_check_defines): New function.
2228         * env.c: Include libgomp_f.h.
2229         (initialize_env): Call omp_check_defines.
2230
2231         * testsuite/libgomp.dg/copyin-2.c: New test.
2232         * testsuite/libgomp.c++/copyin-2.C: New test.
2233         * testsuite/libgomp.fortran/threadprivate3.f90: New test.
2234
2235         * testsuite/libgomp.fortran/threadprivate2.f90: New test.
2236         * testsuite/libgomp.fortran/sharing2.f90: New test.
2237
2238         * testsuite/libgomp.dg/copyin-1.c: New test.
2239         * testsuite/libgomp.c++/copyin-1.C: New test.
2240
2241 2005-10-26  Jakub Jelinek  <jakub@redhat.com>
2242
2243         * testsuite/libgomp.fortran/crayptr1.f90: New test.
2244
2245         * testsuite/libgomp.fortran/workshare1.f90: New test.
2246
2247         * libgomp.fortran/appendix-a/a.28.5.f90: Change into compile
2248         only test.
2249         * libgomp.fortran/sharing1.f90: New test.
2250
2251 2005-10-24  Jakub Jelinek  <jakub@redhat.com>
2252
2253         PR c++/24502
2254         * testsuite/libgomp.c++/loop-7.C: New test.
2255
2256         * testsuite/libgomp.dg/nestedfn-2.c: New test.
2257
2258         * testsuite/libgomp.dg/nestedfn-1.c: New test.
2259         * testsuite/libgomp.fortran/reduction6.f90: New test.
2260         * testsuite/libgomp.fortran/nestedfn1.f90: New test.
2261
2262 2005-10-23  Richard Henderson  <rth@redhat.com>
2263
2264         * testsuite/libgomp.c++/ctor-1.C: New.
2265         * testsuite/libgomp.c++/ctor-2.C: New.
2266         * testsuite/libgomp.c++/ctor-3.C: New.
2267         * testsuite/libgomp.c++/ctor-4.C: New.
2268         * testsuite/libgomp.c++/ctor-5.C: New.
2269         * testsuite/libgomp.c++/ctor-6.C: New.
2270         * testsuite/libgomp.c++/ctor-7.C: New.
2271         * testsuite/libgomp.c++/ctor-8.C: New.
2272         * testsuite/libgomp.c++/ctor-9.C: New.
2273
2274 2005-10-21  Diego Novillo  <dnovillo@redhat.com>
2275
2276         PR 24455
2277         * testsuite/libgomp.c++/pr24455-1.C: New test.
2278         * testsuite/libgomp.c++/pr24455.C: New test.
2279         * testsuite/libgomp.dg/pr24455-1.c: New test.
2280         * testsuite/libgomp.dg/pr24455.c: New test.
2281
2282 2005-10-20  Richard Henderson  <rth@redhat.com>
2283
2284         * testsuite/libgomp.c++/loop-6.C: New.
2285         * testsuite/libgomp.dg/loop-3.c: New.
2286
2287 2005-10-20  Jakub Jelinek  <jakub@redhat.com>
2288
2289         * testsuite/libgomp.fortran/jacobi.f: Don't make i and j
2290         explicitly private.
2291         * testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i
2292         explicitly shared.
2293
2294 2005-10-19  Diego Novillo  <dnovillo@redhat.com>
2295
2296         * testsuite/libgomp.fortran/jacobi.f: New test.
2297
2298 2005-10-19  Richard Henderson  <rth@redhat.com>
2299
2300         * configure.tgt (i?86-linux): Default to with_arch instead of
2301         CFLAGS.  Add -mtune to match target_cpu.
2302         (x86_64-linux): Tune to i686.
2303
2304         * fortran.c (omp_test_nest_lock_): Fix typo.
2305
2306 2005-10-19  Jakub Jelinek  <jakub@redhat.com>
2307
2308         * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
2309         gomp_ordered_sync): Do nothing if team->nthreads == 1.
2310         * testsuite/libgomp.dg/ordered-3.c: New test.
2311
2312         * testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort.
2313         Remove volatile keyword.
2314
2315         * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables
2316         in COMMON block to avoid warnings on 64-bit targets.
2317
2318 2005-10-18  Diego Novillo  <dnovillo@redhat.com>
2319
2320         * testsuite/libgomp.dg/shared-3.c: New test.
2321
2322 2005-10-18  Jakub Jelinek  <jakub@redhat.com>
2323
2324         * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed.
2325         * testsuite/libgomp.fortran/reduction5.f90: New test.
2326
2327 2005-10-18  Jakub Jelinek  <jakub@redhat.com>
2328
2329         * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to
2330         dg-options.
2331         * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise.  Enable
2332         flush loop now that __sync_synchronize has proper memory barrier.
2333         * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo.
2334         Add -ffixed-form to dg-options.
2335
2336 2005-10-17  Diego Novillo  <dnovillo@redhat.com>
2337
2338         * testsuite/libgomp.fortran/fortran.exp: Also gather tests
2339         from subdirectories.
2340         * testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test.
2341         * testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test.
2342         * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test.
2343         * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test.
2344         * testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test.
2345         * testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test.
2346         * testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test.
2347         * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test.
2348         * testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test.
2349         * testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test.
2350         * testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test.
2351         * testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test.
2352         * testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test.
2353         * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test.
2354         * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test.
2355         * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test.
2356         * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test.
2357         * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test.
2358         * testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test.
2359         * testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test.
2360         * testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test.
2361         * testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test.
2362         * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test.
2363         * testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test.
2364         * testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test.
2365
2366 2005-10-17  Jakub Jelinek  <jakub@redhat.com>
2367
2368         * testsuite/libgomp.dg/dg.exp: Only unset lang_* if
2369         lang_library_path exists.  Use find instead of glob to gather tests.
2370         * testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed.
2371
2372 2005-10-17  Diego Novillo  <dnovillo@redhat.com>
2373
2374         * testsuite/libgomp.dg/appendix-a/a.15.1.c: New test.
2375         * testsuite/libgomp.dg/appendix-a/a.16.1.c: New test.
2376         * testsuite/libgomp.dg/appendix-a/a.18.1.c: New test.
2377         * testsuite/libgomp.dg/appendix-a/a.19.1.c: New test.
2378         * testsuite/libgomp.dg/appendix-a/a.2.1.c: New test.
2379         * testsuite/libgomp.dg/appendix-a/a.21.1.c: New test.
2380         * testsuite/libgomp.dg/appendix-a/a.26.1.c: New test.
2381         * testsuite/libgomp.dg/appendix-a/a.29.1.c: New test.
2382         * testsuite/libgomp.dg/appendix-a/a.3.1.c: New test.
2383         * testsuite/libgomp.dg/appendix-a/a.39.1.c: New test.
2384         * testsuite/libgomp.dg/appendix-a/a.4.1.c: New test.
2385         * testsuite/libgomp.dg/appendix-a/a.5.1.c: New test.
2386         * testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file.
2387
2388 2005-10-15  Jakub Jelinek  <jakub@redhat.com>
2389
2390         * testsuite/libgomp.dg/vla-1.c: New test.
2391
2392         * testsuite/libgomp.fortran/reference2.f90: New test.
2393
2394         * testsuite/libgomp.fortran/character2.f90: Remove explicit
2395         declaration of omp_get_thread_num.
2396         * testsuite/libgomp.fortran/threadprivate1.f90: Likewise.  Add
2397         use omp_lib.
2398
2399         * testsuite/libgomp.fortran/reduction1.f90: New test.
2400         * testsuite/libgomp.fortran/reduction2.f90: New test.
2401         * testsuite/libgomp.fortran/reduction3.f90: New test.
2402         * testsuite/libgomp.fortran/reduction4.f90: New test.
2403
2404 2005-10-13  Richard Henderson  <rth@redhat.com>
2405
2406         * Makefile.am (libgomp_la_SOURCES): Add bar.c.
2407         * Makefile.in: Regenerate.
2408         * barrier.c (GOMP_barrier): Use gomp_barrier_wait.
2409         * libgomp.h: Include bar.h.
2410         (struct gomp_barrier): Remove.
2411         (struct gomp_team): Add barrier.  Replace master_barrier with
2412         master_release.  Replace threads with ordered_release.
2413         (struct gomp_thread): Replace barrier with release.
2414         * ordered.c (gomp_ordered_first): Update for ordered_release change.
2415         (gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init,
2416         gomp_ordered_static_next, gomp_ordered_sync): Likewise.
2417         * single.c (GOMP_single_copy_start): Use gomp_barrier_wait.
2418         (GOMP_single_copy_end): Likewise.
2419         * team.c (gomp_threads_dock): New.
2420         (gomp_barrier_init, gomp_barrier_destroy): Remove.
2421         (gomp_thread_start): Use gomp_barrier_wait.
2422         (new_team, free_team): Update for gomp_team changes.
2423         (gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit.
2424         (gomp_team_end): Use gomp_barrier_wait.
2425         (initialize_team): Update for gomp_thread changes.
2426         * work.c (gomp_work_share_end): Use gomp_barrier_wait_start.
2427         (gomp_work_share_end_nowait): Use atomic ops when available.
2428         * config/linux/bar.c, config/linux/bar.h: New files.
2429         * config/posix/bar.c, config/posix/bar.h: New files.
2430
2431 2005-10-13  Jakub Jelinek  <jakub@redhat.com>
2432
2433         * single.c (GOMP_single_copy_end): Don't segfault if team is NULL.
2434         * testsuite/libgomp.dg/single-2.c: New test.
2435
2436         * testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file,
2437         lang_link_flags): Unset, so that they aren't inherited from previously
2438         sourced *.exp.
2439
2440         * testsuite/libgomp.fortran/threadprivate1.f90: New test.
2441
2442 2005-10-12  Richard Henderson  <rth@redhat.com>
2443
2444         * testsuite/lib/libgomp-dg.exp: Set blddir at toplevel.
2445         (libgomp_init): Use lang_test_file, lang_library_path, and
2446         lang_link_flags, set by the subdirectory files.  Add -fopenmp here.
2447
2448         * testsuite/libgomp.fortran/fortran.exp (lang_library_path): New.
2449         (lang_test_file, lang_link_flags): New.
2450         (DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove.
2451
2452         * testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C,
2453         testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C,
2454         testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C,
2455         testsuite/libgomp.c++/parallel-1.C,
2456         testsuite/libgomp.c++/reduction-1.C,
2457         testsuite/libgomp.c++/reduction-2.C,
2458         testsuite/libgomp.c++/reduction-3.C,
2459         testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C,
2460         testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C,
2461         testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C:
2462         New files, largely cribbed from the C testsuite.
2463
2464 2005-10-12  Jakub Jelinek  <jakub@redhat.com>
2465
2466         * testsuite/libgomp.fortran/character1.f90: New test.
2467         * testsuite/libgomp.fortran/character2.f90: New test.
2468
2469         * testsuite/libgomp.dg/nested-1.c: New test.
2470         * testsuite/libgomp.dg/nested-2.c: New test.
2471         * testsuite/libgomp.fortran/do1.f90: New test.
2472         * testsuite/libgomp.fortran/do2.f90: New test.
2473
2474         * testsuite/libgomp.fortran/reference1.f90: New test.
2475
2476 2005-10-11  Jakub Jelinek  <jakub@redhat.com>
2477
2478         * testsuite/libgomp.dg/reduction-1.c: New test.
2479         * testsuite/libgomp.dg/reduction-2.c: New test.
2480         * testsuite/libgomp.dg/reduction-3.c: New test.
2481
2482 2005-10-10  Jakub Jelinek  <jakub@redhat.com>
2483
2484         * testsuite/libgomp.dg/atomic-1.c: New test.
2485         * testsuite/libgomp.dg/atomic-2.c: New test.
2486
2487 2005-10-09  Richard Henderson  <rth@redhat.com>
2488
2489         * critical.c (atomic_lock): New.
2490         (initialize_critical): Initialize it.
2491         (GOMP_atomic_start, GOMP_atomic_end): New.
2492         * libgomp.map: Export them.
2493         * libgomp_g.h: Declare them.
2494
2495         * testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite.
2496
2497 2005-10-02  Richard Henderson  <rth@redhat.com>
2498
2499         * configure.ac: Move save_CFLAGS hack earlier.  Append -Wall/-Werror
2500         to XCFLAGS instead of CFLAGS.
2501
2502 2005-09-30  Richard Henderson  <rth@redhat.com>
2503
2504         * configure.ac: Determine whether -pthread or -lpthread is needed.
2505         * Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread.
2506         * Makefine.in, configure: Rebuild.
2507
2508 2005-09-28  Richard Henderson  <rth@redhat.com>
2509
2510         * testsuite/libgomp.dg/omp-loop03.c: Fix return code.
2511         * testsuite/libgomp.dg/omp-single-3.c: New test.
2512
2513 2005-09-28  Diego Novillo  <dnovillo@redhat.com>
2514
2515         * testsuite/libgomp.dg/omp-single-2.c: New test.
2516         * testsuite/libgomp.dg/shared-2.c: Fix return code.
2517
2518 2005-09-27  Richard Henderson  <rth@redhat.com>
2519
2520         * testsuite/libgomp.dg/omp-loop03.c: Add initial barrier.
2521         * testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule.
2522
2523 2005-09-27  Jakub Jelinek  <jakub@redhat.com>
2524
2525         * testsuite/libgomp.dg/omp-loop03.c: New test.
2526
2527 2005-09-27  Diego Novillo  <dnovillo@redhat.com>
2528
2529         * testsuite/libgomp.dg/omp-parallel-for.c: New test.
2530
2531 2005-09-27  Diego Novillo  <dnovillo@redhat.com>
2532
2533         * testsuite/libgomp.dg/omp-single-1.c: New test.
2534         * testsuite/libgomp.dg/shared-1.c: Return 0.
2535         Add prototype for abort.
2536         * testsuite/libgomp.dg/shared-2.c: Likewise.
2537
2538 2005-09-26  Jakub Jelinek  <jakub@redhat.com>
2539
2540         * testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming
2541         constructs.
2542
2543 2005-09-26  Diego Novillo  <dnovillo@redhat.com>
2544
2545         * testsuite/libgomp.dg/shared-1.c: New test.
2546         * testsuite/libgomp.dg/shared-2.c: New test.
2547
2548 2005-09-24  Richard Henderson  <rth@redhat.com>
2549
2550         * testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error.
2551
2552 2005-09-24  Richard Henderson  <rth@redhat.com>
2553
2554         * iter.c (gomp_iter_static_next): Round up when computing number
2555         of iterations.  Don't bother distributing a remainder equally.
2556
2557         * testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main.
2558         Don't call srand.  Zero b before testing.
2559         (main): New.
2560
2561 2005-09-24  Jakub Jelinek  <jakub@redhat.com>
2562
2563         * testsuite/libgomp.fortran/omp_atomic1.f90: New test.
2564         * testsuite/libgomp.fortran/omp_atomic2.f90: New test.
2565
2566 2005-09-23  Jakub Jelinek  <jakub@redhat.com>
2567
2568         * testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do
2569         without !$omp end do, followed immediately by subroutine end.
2570
2571 2005-09-23  Diego Novillo  <dnovillo@redhat.com>
2572
2573         * testsuite/libgomp.dg/omp-parallel-if.c: New test.
2574
2575 2005-09-22  Richard Henderson  <rth@redhat.com>
2576
2577         * critical.c (GOMP_critical_name_start): Change argument to void**.
2578         Reuse the pointer space if the mutex fits.
2579         (GOMP_critical_name_end): Likewise.
2580         (initialize_critical): Don't define if GOMP_MUTEX_INIT_0.
2581         * libgomp_g.h (GOMP_critical_name_start): Update decl.
2582         (GOMP_critical_name_end): Likewise.
2583         * config/linux/mutex.h (GOMP_MUTEX_INIT_0): New.
2584         * config/posix/mutex.h (GOMP_MUTEX_INIT_0): New.
2585
2586 2005-09-20  Richard Henderson  <rth@redhat.com>
2587
2588         * critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New.
2589         (create_lock_lock): New.
2590         (initialize_critical): Initialize it.
2591         * libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New.
2592         * libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare.
2593
2594 2005-09-20  Diego Novillo  <dnovillo@redhat.com>
2595
2596         * testsuite/libgom.dg/omp-loop01.c: Include stdio.h.
2597
2598 2005-09-20  Diego Novillo  <dnovillo@redhat.com>
2599
2600         * testsuite/libgomp.dg/omp-loop01.c: New test.
2601         * testsuite/libgomp.dg/omp-loop02.c: New test.
2602
2603 2005-09-20  Jakub Jelinek  <jakub@redhat.com>
2604
2605         * configure.ac (AC_PROG_FC): Add.
2606         (USE_FORTRAN): New automake conditional.
2607         * configure: Rebuilt.
2608         * Makefile.am (libgomp_la_SOURCES): Add fortran.c.
2609         (nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h.
2610         If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod.
2611         Add rules to build them.
2612         * Makefile.in: Rebuilt.
2613         * mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and
2614         OMP_NEST_LOCK_KIND.
2615         * libgomp.map: Add Fortran wrappers.
2616         * libgomp_f.h.in: New file.
2617         * omp_lib.h.in: New file.
2618         * omp_lib.f90.in: New file.
2619         * fortran.c: New file.
2620         * testsuite/lib/libgomp-dg.exp: Load a few more .exp files.
2621         Append libgfortran directory to LD_LIBRARY_PATH if it exists.
2622         Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if
2623         libgfortran has been built.
2624         * testsuite/libgomp.fortran/fortran.exp: New file.
2625         * testsuite/libgomp.fortran/omp_cond1.f: New test.
2626         * testsuite/libgomp.fortran/omp_cond2.f: New test.
2627         * testsuite/libgomp.fortran/omp_cond3.F90: New test.
2628         * testsuite/libgomp.fortran/omp_cond4.F90: New test.
2629         * testsuite/libgomp.fortran/omp_hello.f: New test.
2630         * testsuite/libgomp.fortran/omp_orphan.f: New test.
2631         * testsuite/libgomp.fortran/omp_parse1.f90: New test.
2632         * testsuite/libgomp.fortran/omp_parse2.f90: New test.
2633         * testsuite/libgomp.fortran/omp_parse3.f90: New test.
2634         * testsuite/libgomp.fortran/omp_parse4.f90: New test.
2635         * testsuite/libgomp.fortran/omp_reduction.f: New test.
2636         * testsuite/libgomp.fortran/omp_workshare1.f: New test.
2637         * testsuite/libgomp.fortran/omp_workshare2.f: New test.
2638
2639 2005-08-30  Richard Henderson  <rth@redhat.com>
2640
2641         * loop.c (GOMP_loop_static_start): Provide fallback wrapper
2642         function for when aliases are not usable.
2643         (GOMP_loop_dynamic_start, GOMP_loop_guided_start,
2644         GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
2645         GOMP_loop_ordered_guided_start, GOMP_loop_static_next,
2646         GOMP_loop_dynamic_next, GOMP_loop_guided_next,
2647         GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next,
2648         GOMP_loop_ordered_guided_next): Likewise.
2649         * ordered.c (GOMP_ordered_start): Likewise.
2650
2651 2005-08-01  Diego Novillo  <dnovillo@redhat.com>
2652
2653         * testsuite/libgomp.dg/dg.exp: Use -O2 for now.
2654         * testsuite/libgomp.dg/omp_hello.c: Fix return code
2655         * testsuite/libgomp.dg/omp_matvec.c: Likewise.
2656         * testsuite/libgomp.dg/omp_orphan.c: Likewise
2657         * testsuite/libgomp.dg/omp_reduction.c: Likewise
2658         * testsuite/libgomp.dg/omp_workshare1.c: Likewise
2659         * testsuite/libgomp.dg/omp_workshare2.c: Likewise
2660         * testsuite/libgomp.dg/omp_workshare3.c: Likewise
2661         * testsuite/libgomp.dg/omp_workshare4.c: Likewise
2662
2663 2005-07-07  Eric Christopher  <echristo@redhat.com>
2664             Diego Novillo  <dnovillo@redhat.com>
2665
2666         * testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS.
2667         * testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix
2668         up code.
2669         * testsuite/libgomp.dg/omp_matvec.c: Ditto.
2670         * testsuite/libgomp.dg/omp_orphan.c: Ditto.
2671         * testsuite/libgomp.dg/omp_reduction.c: Ditto.
2672         * testsuite/libgomp.dg/omp_workshare1.c: Ditto.
2673         * testsuite/libgomp.dg/omp_workshare2.c: Ditto.
2674         * testsuite/libgomp.dg/omp_workshare3.c: Ditto.
2675         * testsuite/libgomp.dg/omp_workshare4.c: Ditto.
2676
2677 2005-06-13  Diego Novillo  <dnovillo@redhat.com>
2678
2679         * TOPLEVEL.patch: Remove.
2680
2681 2005-05-16  Richard Henderson  <rth@redhat.com>
2682
2683         * configure.ac: Test for clock_gettime.
2684         * config.h.in, configure: Rebuild.
2685         * config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern.
2686         (omp_get_wtime): Use clock_gettime if available.
2687         (omp_get_wtick): Use clock_getres if available.
2688
2689 2005-05-11  Richard Henderson  <rth@redhat.com>
2690
2691         * config/linux/ia64/futex.h: New file.
2692         * configure.tgt: Use it.
2693
2694         * team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline.
2695
2696 2005-05-07  Richard Henderson  <rth@redhat.com>
2697
2698         * config/linux/powerpc/futex.h: New file.
2699         * configure.tgt: Use it.
2700
2701         * config/linux/i486/futex.h: Merge ...
2702         * config/linux/x86_64/futex.h: ... into ...
2703         * config/linux/x86/futex.h: ... here.
2704         * configure.tgt: Update to match.
2705
2706 2005-05-06  Richard Henderson  <rth@redhat.com>
2707
2708         * config/linux/alpha/futex.h: Conditionally define SYS_futex.
2709         * config/linux/i486/futex.h: Likewise.
2710         * config/linux/x86_64/futex.h: Likewise.
2711
2712         * config/linux/lock.c: New file.
2713         * config/linux/omp-lock.h: New file.
2714
2715         * critical.c, env.h: Don't include omp.h
2716         * config/posix/lock.c: Include libgomp.h instead of omp.h.
2717         * config/posix/time.c: Likewise.
2718         * config/posix/omp-lock.h: New file.
2719         * libgomp.h: Include omp-lock.h and omp.h.
2720         * Makefile.am (nodist_include_HEADERS): New.
2721         (omp.h): New rule.
2722         * configure.ac (PERL): New.
2723         * mkomp_h.pl: New file.
2724         * omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t
2725         with templates.
2726         * Makefile.in, configure, testsuite/Makefile.in: Rebuild.
2727
2728         * testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into
2729         build directory.  Re-add -march=i486 hack.
2730
2731         * testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove.
2732         (libgomp_link_flags): Remove.
2733         (libgomp_initialized): Remove.
2734         (libgomp_init): Don't protect from reinitialization.  Copy code
2735         from libstdc++ for getting the multilib set correctly.
2736
2737 2005-05-05  Richard Henderson  <rth@redhat.com>
2738
2739         * config/linux/alpha/futex.h: New file.
2740         * configure.tgt (alpha*-*-linux*): Use it.
2741
2742         * config/posix/mutex.c: New file.
2743         * config/posix/sem.c: Use libgomp.h.
2744
2745         * configure.tgt (x86_64-linux): Also test CC for -m32.
2746         * config/linux/x86_64/futex.h (futex_wait): Fix r10 usage.
2747
2748         * testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add /
2749         after $gccpath.
2750
2751         * Makefile.am (SUBDIRS): New.
2752         (libgomp_la_LDFLAGS): Add -lpthread.
2753         * configure.ac (AM_INIT_AUTOMAKE): Enable dependencies.
2754         * Makefile.in, aclocal.m4, config.h.in, configure: Rebuild.
2755
2756         * libgomp_g.h: New file.
2757         * libgomp.h: Split out all public declarations to libgomp_g.h.
2758         Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN.
2759         * config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN.
2760         * config/linux/sem.h: Likewise.
2761         * config/posix/sem.h: Likewise.
2762
2763         * Makefile.am (AM_LDFLAGS): New.
2764         (libgomp_version_script): Split out from ...
2765         (libgomp_la_LDFLAGS): ... here.
2766         (libgomp_version_info): New.
2767         * acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE.
2768         (LIBGOMP_ENABLE): New.
2769         (LIBGOMP_CHECK_LINKER_FEATURES): New.
2770         (LIBGOMP_ENABLE_SYMVERS): New.
2771         * configure.ac (AC_INIT): Version 1.0.
2772         (enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE.
2773         (enable-linux-futex): Likewise.  Rename from enable-futex.
2774         (libtool_VERSION): New.
2775         (LIBGOMP_ENABLE_SYMVERS): Use it.
2776         * configure.tgt: Check with_gnu_ld wrt have_tls optimizations.
2777         * Makefile.in, aclocal.m4, configure: Rebuild.
2778
2779         * config/linux/mutex.c: Include libgomp.h instead of mutex.h.
2780         (gomp_mutex_unlock_slow): Fix typo.
2781         * config/linux/sem.c: Similarly.
2782         (gomp_sem_post_slow): Fix typo.
2783         * config/linux/sem.h (gomp_sem_post_slow): Fix typo.
2784         * config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code.
2785         [__PIC__] (sys_futex0): Don't use tmp output in asm.
2786
2787         * Makefile.am (AM_CFLAGS): Expand with XCFLAGS.
2788         (libgomp_la_LDFLAGS): Add top_srcdir to path.
2789         * acinclude.m4: Copy libtool.m4 stuff from libgfortran.
2790         * configure.ac: Check for getloadavg.  Substitute XCFLAGS and
2791         XLDFLAGS.  Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS.
2792         * configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and
2793         LDFLAGS.  Pull enable_futex check to top-level.
2794         * libgomp.h: Fix sem.h and mutex.h includes.  Define ATTRIBUTE_HIDDEN.
2795         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
2796
2797         First attempt at real configury.
2798         * Makefile, config.h: Remove file.
2799         * Makefile.am, Makefile.in: New file.
2800         * acinclude.m4 aclocal.m4: New file.
2801         * configure.ac, configure.tgt, configure: New file.
2802
2803         * config/posix/lock.c: Rename from sys-lock.c.
2804         * config/posix/mutex.h: Rename from sys-mutex.h.
2805         * config/posix/sem.c: Rename from sys-sem.c.
2806         * config/posix/sem.h: Rename from sys-sem.h.
2807         * config/posix/proc.c: Rename from sys-proc.c.
2808         * config/posix/time.c: Rename from sys-proc.c.
2809
2810         * config/linux/mutex.c: New file.
2811         * config/linux/mutex.h: New file.
2812         * config/linux/sem.c: New file.
2813         * config/linux/sem.h: New file.
2814         * config/linux/i486/futex.h: New file.
2815         * config/linux/x86_64/futex.h: New file.
2816
2817 2005-05-04  Richard Henderson  <rth@redhat.com>
2818
2819         * iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New.
2820         * libgomp.h: Declare them.
2821         * loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start,
2822         gomp_loop_dynamic_next, gomp_loop_guided_next): Use them.
2823
2824 2005-05-04  Richard Henderson  <rth@redhat.com>
2825
2826         * libgomp-1 code drop
2827
2828 2005-05-04  Richard Henderson  <rth@redhat.com>
2829
2830         * iter.c (gomp_iter_static_next): Return tri-state on 0.
2831         * ordered.c (gomp_ordered_static_next): Remove not_last argument.
2832         * libgomp.h (struct gomp_team_state): Make static_trip unsigned.
2833         (gomp_iter_static_next): Update.
2834         (gomp_ordered_static_next): Update.
2835         * loop.c (gomp_loop_static_start): Update for gomp_iter_static_next.
2836         (gomp_loop_ordered_static_start): Likewise.  Exit early for a
2837         totally empty range.
2838         (gomp_loop_ordered_static_next): Refine test for calling
2839         gomp_ordered_static_next.
2840         * testsuite/ordered-1.c: Add case for more threads than iterations.
2841
2842         * iter.c (gomp_iter_runtime_next_locked): Remove.
2843         * loop.c (gomp_loop_static_start, gomp_loop_dynamic_start,
2844         gomp_loop_guided_start, gomp_loop_ordered_static_start,
2845         gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start,
2846         gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next,
2847         gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next,
2848         gomp_loop_ordered_guided_next): Downcase name, make static, add
2849         an external alias with the old name.
2850         (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start,
2851         GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a
2852         switch and call one of the above static functions.
2853         * libgomp.h: Update.
2854
2855         * work.c (gomp_work_share_start): Lock the mutex for !first too.
2856         * loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start,
2857         GOMP_loop_guided_start, GOMP_loop_runtime_start,
2858         GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
2859         GOMP_loop_ordered_guided_start): Update to match.
2860         * sections.c (GOMP_sections_start): Likewise.
2861         * single.c (GOMP_single_start, GOMP_single_copy_start): Likewise.
2862
2863         * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
2864         gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//.
2865         Use bounds check instead of modulus.
2866         (gomp_ordered_sync): Split out of GOMP_ordered_start.
2867         (gomp_ordered_last): Don't sync with ordered_owner here.
2868         (gomp_ordered_next): Likewise.
2869         (gomp_ordered_static_loop_next): Likewise.
2870         * loop.c, libgomp.h: Update to match.
2871
2872         * libgomp.h (GOMP_barrier): Declare.
2873
2874         * testsuite/barrier-1.c: New file.
2875         * testsuite/critical-1.c: New file.
2876         * testsuite/ordered-2.c: New file.
2877         * testsuite/ordered-1.c: New file.
2878         * testsuite/sections-1.c: New file.
2879         * testsuite/single-1.c: New file.
2880         * testsuite/Makefile (TESTS): Add them.
2881
2882 2005-05-04  Richard Henderson  <rth@redhat.com>
2883
2884         * libgomp.h (struct gomp_work_share): Add ordered_owner.
2885         * loop.c (GOMP_loop_static_start): If not the startup thread,
2886         acquire the mutex to wait for initialization complete.
2887         (GOMP_loop_ordered_static_start): Likewise.
2888         (GOMP_loop_ordered_runtime_start): Likewise.
2889         (GOMP_loop_ordered_static_first): Remove.
2890         (GOMP_loop_ordered_dynamic_first): Remove.
2891         (GOMP_loop_ordered_guided_first): Remove.
2892         (GOMP_loop_ordered_runtime_first): Remove.
2893         * ordered.c (gomp_ordered_loop_first): Post to own release when
2894         we're the first thread.
2895         (gomp_ordered_loop_last): Wait on release if not owner.
2896         (gomp_ordered_loop_next): Likewise.
2897         (gomp_ordered_static_loop_init): New.
2898         (gomp_ordered_static_loop_next): Use ordered_owner.
2899         (GOMP_ordered_start): Likewise.
2900         * work.c (gomp_new_work_share): Initialize ordered_owner.
2901
2902 2005-05-03  Richard Henderson  <rth@redhat.com>
2903
2904         * Makefile (OPT): New.
2905         (CFLAGS): Use it.
2906
2907         * loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New.
2908         * sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New.
2909         * libgomp.h, libgomp.map, NOTES: Update to match.
2910
2911         * team.c (struct gomp_thread_start_data): Remove ts, fn, data.
2912         Add initialized and thr members.
2913         (gomp_thread_start): Pause when initially spawned to wait for
2914         the whole team to be created.
2915         (gomp_team_start): Release team members at the end.
2916
2917         * testsuite/loop-1.c (N): New.  Use it instead of hardcoded 100.
2918         (f_foo_1): Use GOMP_loop_end.
2919         (f_foo_2): Use GOMP_loop_end_nowait.
2920
2921         * testsuite/loop-2.c: New file.
2922         * testsuite/Makefile (TESTS): Add it.
2923
2924 2005-05-03  Richard Henderson  <rth@redhat.com>
2925
2926         * iter.c (gomp_iter_static_next): Fix overflow check typo.
2927         (gomp_iter_dynamic_next_locked): Fix overflow check thinko.
2928         * team.c (new_team): Initialize oldest_live_gen to 1 if no
2929         initial work_share.
2930
2931         * testsuite/Makefile: New file.
2932         * testsuite/loop-1.c: New file.
2933
2934 2005-05-03  Richard Henderson  <rth@redhat.com>
2935
2936         Initial implementation and checkin.