1282152Spfg2010-05-22  Release Manager
2171831Skan
3282152Spfg	* GCC 4.3.5 released.
4171831Skan
5282152Spfg2010-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6282152Spfg
7282152Spfg	PR other/43620
8282152Spfg	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
9282152Spfg	* configure: Regenerate.
10282152Spfg	* aclocal.m4: Regenerate.
11282152Spfg	* config.h.in: Regenerate.
12282152Spfg	* Makefile.in: Regenerate.
13282152Spfg	* testsuite/Makefile.in: Regenerate.
14282152Spfg
15282152Spfg2009-08-19  Tobias Burnus  <burnus@net-b.de>
16282152Spfg
17282152Spfg	PR fortran/41102
18282152Spfg	omp_lib.h.in: Fix -std=f95 errors.
19282152Spfg
20282152Spfg2009-08-14  Uros Bizjak  <ubizjak@gmail.com>
21282152Spfg
22282152Spfg	Backport from mainline:
23282152Spfg	2008-12-26  Uros Bizjak  <ubizjak@gmail.com>
24282152Spfg
25282152Spfg	* testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets.
26282152Spfg
27282152Spfg2009-08-04  Release Manager
28282152Spfg
29282152Spfg	* GCC 4.3.4 released.
30282152Spfg
31282152Spfg2009-01-24  Release Manager
32282152Spfg
33282152Spfg	* GCC 4.3.3 released.
34282152Spfg
35282152Spfg2008-12-05  Janis Johnson  <janis187@us.ibm.com>
36282152Spfg
37282152Spfg	Backport from mainline:
38282152Spfg	2008-05-15  Janis Johnson  <janis187@us.ibm.com>
39282152Spfg
40282152Spfg	* testsuite/lib/libgomp.exp: Load new torture support.
41282152Spfg
42282152Spfg2008-12-02  Janis Johnson  <janis187@us.ibm.com>
43282152Spfg
44282152Spfg	Backport from mainline:
45282152Spfg	2008-11-26  Janis Johnson  <janis187@us.ibm.com>
46282152Spfg
47282152Spfg	PR testsuite/28870
48282152Spfg	* testsuite/lib/libgomp.exp: Include new timeout library files.
49282152Spfg	(libgomp_target_compile): Set timeout value from new proc.
50282152Spfg
51282152Spfg2008-08-27  Release Manager
52282152Spfg
53282152Spfg	* GCC 4.3.2 released.
54282152Spfg
55282152Spfg2008-06-12  Jakub Jelinek  <jakub@redhat.com>
56282152Spfg
57282152Spfg	PR middle-end/36506
58282152Spfg	* testsuite/libgomp.c/reduction-5.c: New test.
59282152Spfg
60282152Spfg2008-06-06  Release Manager
61282152Spfg
62282152Spfg	* GCC 4.3.1 released.
63282152Spfg
64282152Spfg2008-05-23  Jakub Jelinek  <jakub@redhat.com>
65282152Spfg
66282152Spfg	PR c++/36308
67282152Spfg	* testsuite/libgomp.c++/ctor-11.C: New test.
68282152Spfg	* testsuite/libgomp.c++/ctor-12.C: New test.
69282152Spfg
70282152Spfg2008-05-07  Jakub Jelinek  <jakub@redhat.com>
71282152Spfg
72282152Spfg	PR middle-end/36106
73282152Spfg	* testsuite/libgomp.c/atomic-5.c: New test.
74282152Spfg	* testsuite/libgomp.c/atomic-6.c: New test.
75282152Spfg	* testsuite/libgomp.c/autopar-1.c: New test.
76282152Spfg
77282152Spfg2008-03-18  Jakub Jelinek  <jakub@redhat.com>
78282152Spfg
79282152Spfg	PR middle-end/35611
80282152Spfg	* testsuite/libgomp.c/atomic-4.c: New test.
81282152Spfg
82282152Spfg	PR libgomp/35625
83282152Spfg	* iter.c (gomp_iter_guided_next_locked): If q > n, set end to ws->end.
84282152Spfg	(gomp_iter_guided_next): Likewise.
85282152Spfg	* testsuite/libgomp.c/pr35625.c: New test.
86282152Spfg
87282152Spfg2008-03-13  Jakub Jelinek  <jakub@redhat.com>
88282152Spfg
89282152Spfg	PR middle-end/35185
90282152Spfg	* testsuite/libgomp.c++/pr35185.C: New test.
91282152Spfg
92282152Spfg2008-03-12  Jakub Jelinek  <jakub@redhat.com>
93282152Spfg
94282152Spfg	PR middle-end/35549
95282152Spfg	* testsuite/libgomp.c/pr35549.c: New test.
96282152Spfg
97282152Spfg2008-03-06  Jakub Jelinek  <jakub@redhat.com>
98282152Spfg
99282152Spfg	* testsuite/libgomp.c/atomic-3.c: New test.
100282152Spfg
101282152Spfg2008-03-05  Release Manager
102282152Spfg
103282152Spfg	* GCC 4.3.0 released.
104282152Spfg
105282152Spfg2008-02-15  Jakub Jelinek  <jakub@redhat.com>
106282152Spfg
107282152Spfg	PR middle-end/35196
108282152Spfg	* testsuite/libgomp.c/pr35196.c: New test.
109282152Spfg
110282152Spfg	PR middle-end/35130
111282152Spfg	* testsuite/libgomp.fortran/pr35130.f90: New test.
112282152Spfg	* testsuite/libgomp.c/pr35130.c: New test.
113282152Spfg
114282152Spfg2008-01-25  Jakub Jelinek  <jakub@redhat.com>
115282152Spfg
116282152Spfg	PR middle-end/33880
117282152Spfg	* testsuite/libgomp.c/pr33880.c: New test.
118282152Spfg	* testsuite/libgomp.fortran/pr33880.f90: New test.
119282152Spfg
120282152Spfg2008-01-24  David Edelsohn  <edelsohn@gnu.org>
121282152Spfg
122282152Spfg	* configure: Regenerate.
123282152Spfg
124282152Spfg2008-01-08  Jakub Jelinek  <jakub@redhat.com>
125282152Spfg
126282152Spfg	* configure.ac: Move futex checking into ../config/futex.m4.
127282152Spfg	* configure: Rebuilt.
128282152Spfg	* aclocal.m4: Rebuilt.
129282152Spfg	* Makefile.in: Rebuilt.
130282152Spfg
131282152Spfg	* configure.tgt: Rename have_tls to gcc_cv_have_tls to match
132282152Spfg	2007-10-15 ../config/tls.m4 change.
133282152Spfg
134282152Spfg2007-12-19  Jakub Jelinek  <jakub@redhat.com>
135282152Spfg
136282152Spfg	PR c++/34513
137282152Spfg	* testsuite/libgomp.c/pr34513.c: New test.
138282152Spfg	* testsuite/libgomp.c++/pr34513.C: New test.
139282152Spfg
140282152Spfg2007-12-17  Jack Howarth  <howarth@bromo.med.uc.edu>
141282152Spfg
142282152Spfg	PR target/32765
143282152Spfg	* testsuite/libgomp.fortran/crayptr2.f90: Move dg-options for darwin.
144282152Spfg
145282152Spfg2007-12-04  Jakub Jelinek  <jakub@redhat.com>
146282152Spfg
147282152Spfg	* omp.h.in (__GOMP_NOTHROW): Define.  Use it on omp_* prototypes.
148282152Spfg
149282152Spfg2007-12-03  Jakub Jelinek  <jakub@redhat.com>
150282152Spfg
151282152Spfg	* testsuite/libgomp.c/private-1.c: New test.
152282152Spfg
153282152Spfg2007-11-29  Andris Pavenis <andris.pavenis@iki.fi>
154282152Spfg	    Paolo Bonzini  <bonzini@gnu.org>
155282152Spfg
156282152Spfg	* Makefile.am: Use space as vpath separator.  Use 'vpath %'
157282152Spfg	instead of 'VPATH ='.
158282152Spfg	* Makefile.in: Regenerate.
159282152Spfg
160282152Spfg2007-11-23  Matthias Klose  <doko@ubuntu.com>
161282152Spfg
162282152Spfg	* configure.ac: Adjust makeinfo version check.
163282152Spfg	* configure: Regenerate.
164282152Spfg
165282152Spfg2007-11-10  Jakub Jelinek  <jakub@redhat.com>
166282152Spfg
167282152Spfg	PR fortran/34020
168282152Spfg	* testsuite/libgomp.fortran/pr34020.f90: New test.
169282152Spfg
170282152Spfg2007-11-06  Jakub Jelinek  <jakub@redhat.com>
171282152Spfg
172282152Spfg	PR c++/33894
173282152Spfg	* testsuite/libgomp.c++/atomic-1.C: New test.
174282152Spfg
175282152Spfg2007-10-25  Jakub Jelinek  <jakub@redhat.com>
176282152Spfg
177282152Spfg	PR libgomp/33275
178282152Spfg	* testsuite/libgomp.fortran/omp_parse3.f90 (test_threadprivate):
179282152Spfg	Make x and y integers rather than (implicit) reals.  Add private (j)
180282152Spfg	clause to the last omp parallel.
181282152Spfg
182282152Spfg2007-10-15  Maciej W. Rozycki  <macro@linux-mips.org>
183282152Spfg
184282152Spfg	* configure: Regenerate following changes to ../config/tls.m4.
185282152Spfg
186282152Spfg2007-09-28  Jakub Jelinek  <jakub@redhat.com>
187282152Spfg
188282152Spfg	* testsuite/libgomp.fortran/stack.f90: New test.
189282152Spfg
190282152Spfg2007-09-10  Danny Smith  <dannysmith@users.sourceforge.net>
191282152Spfg
192282152Spfg	* config/mingw32/proc.c: New file.
193282152Spfg
194282152Spfg2007-09-05  Uros Bizjak  <ubizjak@gmail.com>
195282152Spfg
196282152Spfg	* testsuite/libgomp.c/atomic-1.c: Include cpuid.h for i386 targets.
197282152Spfg	(main): Use __get_cpuid to get i386 target fetaures.
198282152Spfg	* testsuite/libgomp.c/atomic-2.c: Include cpuid.h for x86_64 targets.
199282152Spfg	(main): Use __get_cpuid to get x86_64 target fetaures.
200282152Spfg
201282152Spfg2007-08-15  Jack Howarth  <howarth@bromo.med.uc.edu>
202282152Spfg
203282152Spfg	PR target/32765
204282152Spfg	* testsuite/libgomp.fortran/pr32550.f90: Use -static-libgcc on Darwin.
205282152Spfg	* testsuite/libgomp.fortran/crayptr2.f90: Likwise.
206282152Spfg
207282152Spfg2007-07-12  Jakub Jelinek  <jakub@redhat.com>
208282152Spfg
209282152Spfg	PR fortran/32550
210282152Spfg	* testsuite/libgomp.fortran/pr32550.f90: New test.
211282152Spfg	* testsuite/libgomp.fortran/crayptr2.f90: New test.
212282152Spfg
213282152Spfg2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
214282152Spfg
215282152Spfg	* aclocal.m4: Regenerated.
216282152Spfg
217282152Spfg2007-07-05  Tobias Burnus  <burnus@net-b.de>
218282152Spfg
219282152Spfg	PR fortran/32359
220282152Spfg	* testsuite/libgomp.fortran/pr32359.f90: New.
221282152Spfg
222171831Skan2007-07-02  Jakub Jelinek  <jakub@redhat.com>
223171831Skan
224171831Skan	PR libgomp/32468
225171831Skan	* sections.c (GOMP_parallel_sections_start): Only decrease
226171831Skan	number of threads to COUNT if dyn_var is true.
227171831Skan	* testsuite/libgomp.c/pr32468.c: New test.
228171831Skan
229171831Skan2007-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
230171831Skan
231171831Skan	PR libgomp/26308
232171831Skan	* config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
233171831Skan
234171831Skan2007-06-21  Jakub Jelinek  <jakub@redhat.com>
235171831Skan
236171831Skan	PR middle-end/32362
237171831Skan	* testsuite/libgomp.c/pr32362-1.c: New test.
238171831Skan	* testsuite/libgomp.c/pr32362-2.c: New test.
239171831Skan	* testsuite/libgomp.c/pr32362-3.c: New test.
240171831Skan
241282152Spfg2007-06-07  Jakub Jelinek  <jakub@redhat.com>
242169695Skan
243282152Spfg	* team.c (gomp_team_start): Fix setting up thread_attr
244282152Spfg	stack size.
245169695Skan
246282152Spfg2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
247282152Spfg
248282152Spfg	* configure: Regenerate.
249282152Spfg
250282152Spfg2007-05-23  Steve Ellcey  <sje@cup.hp.com>
251282152Spfg
252282152Spfg	* Makefile.in: Regenerate.
253282152Spfg	* configure: Regenerate.
254282152Spfg	* aclocal.m4: Regenerate.
255282152Spfg	* testsuite/Makefile.in: Regenerate.
256282152Spfg
257282152Spfg2007-05-04  Jakub Jelinek  <jakub@redhat.com>
258282152Spfg
259282152Spfg	* config/linux/proc.c: New file.
260282152Spfg
261282152Spfg	PR libgomp/28482
262282152Spfg	* configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.
263282152Spfg
264282152Spfg2007-04-19  Daniel Franke  <franke.daniel@gmail.com>
265282152Spfg
266282152Spfg	* libgomp.texi (GOMP_CPU_AFFINITY): Updated.
267282152Spfg
268282152Spfg2007-04-16  Matthias Klose  <doko@debian.org>
269282152Spfg
270282152Spfg	* configure.tgt (i[456]86-*-linux*): Only add ia32 specific
271282152Spfg	flags if not building with -m64.
272282152Spfg	* testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march
273282152Spfg	flag for i?86-*-* targets, if current target matches -m64.
274282152Spfg
275282152Spfg2007-04-14  Steve Ellcey  <sje@cup.hp.com>
276282152Spfg
277282152Spfg	* Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
278282152Spfg	* Makefile.in: Regenerate.
279282152Spfg
280282152Spfg2007-04-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
281282152Spfg
282282152Spfg	PR testsuite/31369
283282152Spfg	* testsuite/libgomp.c++/c++.exp: Don't use concat when setting
284282152Spfg	ld_library_path.
285282152Spfg	* testsuite/libgomp.fortran/fortran.exp: Likewise.
286282152Spfg
287282152Spfg2007-04-04  Jakub Jelinek  <jakub@redhat.com>
288282152Spfg
289282152Spfg	* libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New extern
290282152Spfg	decls.
291282152Spfg	(gomp_init_affinity, gomp_init_thread_affinity): New prototypes.
292282152Spfg	* env.c (gomp_cpu_affinity, gomp_cpu_affinity_len): New variables.
293282152Spfg	(parse_affinity): New function.
294282152Spfg	(initialize_env): Call it and gomp_init_affinity.
295282152Spfg	* team.c (gomp_team_start): If gomp_cpu_affinity != NULL,
296282152Spfg	create new pthread_attr_t and call gomp_init_thread_affinity
297282152Spfg	on it for each thread before passing the attribute to pthread_create.
298282152Spfg	* config/linux/affinity.c: New file.
299282152Spfg	* config/posix/affinity.c: New file.
300282152Spfg	* configure.ac (HAVE_PTHREAD_AFFINITY_NP): New test.
301282152Spfg	* configure: Rebuilt.
302282152Spfg	* config.h.in: Rebuilt.
303282152Spfg	* Makefile.am (libgomp_la_SOURCES): Add affinity.c.
304282152Spfg	* Makefile.in: Rebuilt.
305282152Spfg
306282152Spfg2007-03-23  Andreas Tobler  <a.tobler@schweiz.org>
307282152Spfg
308282152Spfg	* testsuite/lib/libgomp.exp (libgomp_init): Add -shared-libgcc for
309282152Spfg	*-*-darwin*.
310282152Spfg	* testsuite/libgomp.c++/c++.exp: Look for shared libstdc++ library
311282152Spfg	and use it if found.
312282152Spfg
313282152Spfg2007-03-18  Uros Bizjak  <ubizjak@gmail.com>
314282152Spfg
315282152Spfg	* testsuite/config/default.exp: New file.
316282152Spfg	* testsuite/lib/libgomp.exp: New file.
317282152Spfg	* testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init,
318282152Spfg	libgomp_target_compile, libgomp_option_help, libgomp_option_proc,
319282152Spfg	load_lib *, load_gcc_lib *): Move to libgomp.exp.
320282152Spfg	(libgomp_load): Remove.
321282152Spfg	* testsuite/lib/libgomp.exp (libgomp_init): Compute
322282152Spfg	always_ld_library_path, not ld_library_path.  Set additional_flags
323282152Spfg	to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets.
324282152Spfg	(target_compile): Do not call libgomp_init.  Append lang_library_path
325282152Spfg	and lang_link_flags to options.
326282152Spfg	* testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2.  Set
327282152Spfg	ld_library_path from always_ld_library_path.  Set LD_LIBRARY_PATH
328282152Spfg	here.
329282152Spfg	* testsuite/libgomp.c++/c++.exp: Set ld_library_path from
330282152Spfg	always_ld_library_path.  Set LD_LIBRARY_PATH here.
331282152Spfg	* testsuite/libgomp.fortran/fortran.exp: Ditto.
332282152Spfg	* testsuite/libgomp.c/atomic-1.c: Set dg-options to
333282152Spfg	"-O2 -march=pentium" for ilp32 x86 targets. Simplify check for
334282152Spfg	CX8 flag.
335282152Spfg	* testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for
336282152Spfg	lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3.
337282152Spfg	* testsuite/libgomp.c/pr29947-1.c: Remove default dg-options.
338282152Spfg	* testsuite/libgomp.c/pr29947-1.c: Ditto.
339282152Spfg	* testsuite/libgomp.c/atomic-10.c: Ditto.
340282152Spfg
341282152Spfg2007-03-21  Jakub Jelinek  <jakub@redhat.com>
342282152Spfg
343282152Spfg	* testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add
344282152Spfg	dg-final cleanup-modules line.
345282152Spfg	* testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise.
346282152Spfg	* testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise.
347282152Spfg	* testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise.
348282152Spfg	* testsuite/libgomp.fortran/threadprivate2.f90: Likewise.
349282152Spfg	* testsuite/libgomp.fortran/reduction5.f90: Likewise.
350282152Spfg	* testsuite/libgomp.fortran/threadprivate3.f90: Likewise.
351282152Spfg	* testsuite/libgomp.fortran/threadprivate1.f90: Likewise.
352282152Spfg
353169695Skan2007-03-18  Andreas Schwab  <schwab@suse.de>
354169695Skan
355169695Skan	* acinclude.m4: Adjust regular expression for ld version
356169695Skan	extraction.
357169695Skan	* configure: Regenerate.
358169695Skan
359282152Spfg2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
360282152Spfg
361282152Spfg	* Makefile.am: Add install-pdf target as copied from
362282152Spfg	automake v1.10 rules.
363282152Spfg	* Makefile.in: Regenerate
364282152Spfg
365169695Skan2007-02-07  Jakub Jelinek  <jakub@redhat.com>
366169695Skan
367282152Spfg	PR libgomp/28486
368282152Spfg	* configure: Regenerate.
369282152Spfg
370169695Skan	PR c++/30703
371169695Skan	* testsuite/libgomp.c++/pr30703.C: New test.
372169695Skan
373282152Spfg2007-02-02  Jakub Jelinek  <jakub@redhat.com>
374169695Skan
375282152Spfg	Revert:
376282152Spfg	2006-07-05  Eric Christopher  <echristo@apple.com>
377282152Spfg	* configure.ac: Depend addition of -pthread on host OS.
378282152Spfg	* configure: Regenerate.
379169695Skan
380282152Spfg2007-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
381282152Spfg
382282152Spfg	* libgomp.texi: Fix spacing after abbreviations.
383282152Spfg
384282152Spfg2007-01-31  Daniel Franke <franke.daniel@gmail.com>
385282152Spfg
386169695Skan	PR libgomp/30546
387169695Skan	* configure.ac: Add check for makeinfo
388169695Skan	* Makefile.am: Redefined target libgomp.info, build libgomp.info only
389169695Skan	if an appropiate version of makeinfo is found.
390169695Skan	* aclocal.m4: Regenerated.
391169695Skan	* configure: Regenerated.
392169695Skan	* Makefile.in: Regenerated.
393169695Skan	* testsuite/Makefile.in: Regenerated.
394169695Skan
395282152Spfg2007-01-29  Daniel Franke <franke.daniel@gmail.com>
396169695Skan
397282152Spfg	PR libgomp/30540
398282152Spfg	* libgomp.texi: More about implementation-dependent settings.
399169695Skan
400282152Spfg2007-01-26  Tobias Burnus  <burnus@net-b.de>
401169695Skan
402282152Spfg	* testsuite/libgomp.fortran/fortran.exp: Support .f03 extension.
403169695Skan
404282152Spfg2007-01-24  Jakub Jelinek  <jakub@redhat.com>
405169695Skan
406282152Spfg	PR middle-end/30494
407282152Spfg	* testsuite/libgomp.c/pr30494.c: New test.
408169695Skan
409282152Spfg2007-01-15  Tom Tromey  <tromey@redhat.com>
410169695Skan
411282152Spfg	* configure: Rebuilt.
412282152Spfg	* configure.ac: Fixed comment.
413169695Skan
414282152Spfg2007-01-14  Daniel Franke  <franke.daniel@gmail.com>
415169695Skan
416282152Spfg	* libgomp.texi: Document implementation specific default values of
417282152Spfg	environment variables.
418169695Skan
419282152Spfg2006-12-21  Daniel Franke  <franke.daniel@gmail.com>
420169695Skan
421169695Skan	PR libgomp/28209
422169695Skan	* libgomp.texi: New file.
423169695Skan	* configure.ac: Add --enable-generated-files-in-srcdir option.
424282152Spfg	* Makefile.am: Add info, dvi, pdf, html targets. On request, copy
425282152Spfg	files to srcdir.
426169695Skan	* Makefile.in: Regenerated.
427282152Spfg	* config.h.in: Regenerated.
428169695Skan	* testsuite/Makefile.in: Regenerated.
429169695Skan	* NOTES: Removed.
430169695Skan
431282152Spfg2006-12-04  Daniel Franke  <franke.daniel@gmail.com>
432169695Skan
433169695Skan	PR libgomp/29949
434169695Skan	* env.c (omp_set_num_threads): Set illegal thread count to 1.
435169695Skan
436169695Skan2006-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
437169695Skan
438169695Skan	* configure: Regenerate.
439169695Skan
440169695Skan2006-12-04  Jakub Jelinek  <jakub@redhat.com>
441169695Skan
442169695Skan	PR libgomp/29947
443169695Skan	* loop.c (gomp_loop_init): Make parameters signed.  Set ws->end to
444169695Skan	start if there shouldn't be any loop iterations.
445169695Skan	(gomp_loop_ordered_static_start): Remove start == end test.
446169695Skan	* testsuite/libgomp.c/pr29947-1.c: New test.
447169695Skan	* testsuite/libgomp.c/pr29947-2.c: New test.
448169695Skan
449169695Skan2006-12-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
450169695Skan
451169695Skan	* configure.tgt: Force initial-exec TLS model on Linux only.
452169695Skan
453282152Spfg2006-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
454282152Spfg
455282152Spfg	* configure: Regenerated.
456282152Spfg
457282152Spfg2006-11-09  Uros Bizjak  <ubizjak@gmail.com>
458282152Spfg
459282152Spfg	* env.c (parse_schedule): Reject out of range values.
460282152Spfg	(parse_unsigned_long): Reject out of range, negative or zero values.
461282152Spfg
462169695Skan2006-10-29  Jakub Jelinek  <jakub@redhat.com>
463169695Skan
464169695Skan	PR fortran/29629
465169695Skan	* testsuite/libgomp.fortran/pr29629.f90: New test.
466169695Skan
467169695Skan2006-10-24  Eric Botcazou  <ebotcazou@libertysurf.fr>
468169695Skan
469169695Skan	PR libgomp/29494
470169695Skan	* configure.tgt: Use posix95 configuration for Solaris 2.5.1 and 2.6.
471169695Skan	* config/posix95: New directory.
472169695Skan	* config/posix95/omp-lock.h: New file.
473169695Skan	* config/posix95/lock.c: Likewise.
474169695Skan
475169695Skan2006-10-14  Geoffrey Keating  <geoffk@apple.com>
476169695Skan
477169695Skan	* aclocal.m4: Regenerate.
478169695Skan	* configure: Regenerate.
479169695Skan
480169695Skan2006-10-05  Danny Smith  <dannysmith@users.sourceforge.net>
481169695Skan
482169695Skan	* testsuite/libgomp.c/barrier-1.c: Change timestamp tests from
483169695Skan	'<' to '<='.
484169695Skan
485169695Skan2006-10-05  Danny Smith  <dannysmith@users.sourceforge.net>
486169695Skan
487169695Skan	* acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from
488169695Skan	test.
489169695Skan	* configure: Regenerate.
490169695Skan	* fortran.c  (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias.
491169695Skan
492169695Skan2006-09-26  Jakub Jelinek  <jakub@redhat.com>
493169695Skan
494169695Skan	PR middle-end/25261
495169695Skan	PR middle-end/28790
496169695Skan	* testsuite/libgomp.c/nestedfn-4.c: New test.
497169695Skan	* testsuite/libgomp.c/nestedfn-5.c: New test.
498169695Skan	* testsuite/libgomp.fortran/nestedfn3.f90: New test.
499169695Skan
500169695Skan	PR fortran/29097
501169695Skan	* testsuite/libgomp.fortran/condinc1.f: New test.
502169695Skan	* testsuite/libgomp.fortran/condinc2.f: New test.
503169695Skan	* testsuite/libgomp.fortran/condinc3.f90: New test.
504169695Skan	* testsuite/libgomp.fortran/condinc4.f90: New test.
505169695Skan	* testsuite/libgomp.fortran/condinc1.inc: New file.
506169695Skan
507169695Skan2006-09-18  Tom Tromey  <tromey@redhat.com>
508169695Skan
509169695Skan	* configure: Rebuilt.
510169695Skan
511169695Skan2006-09-13  Joseph S. Myers  <joseph@codesourcery.com>
512169695Skan
513169695Skan	PR c/28768
514169695Skan	PR preprocessor/14634
515169695Skan	* configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument
516169695Skan	to AC_DEFINE.
517169695Skan	* configure: Regenerate.
518169695Skan
519169695Skan2006-09-08  Steven G. Kargl  <kargl@gcc.gnu.org>
520169695Skan
521169695Skan	* testsuite/libgomp.fortran/reduction3.f90: Change
522169695Skan	-2147483648 to -huge(i)-1 to avoid overflow.
523169695Skan	* testsuite/libgomp.fortran/reduction4.f90: Change
524169695Skan	Z'ffffffff' to not(0) to avoid overflow.
525169695Skan
526169695Skan2006-08-26  Joseph S. Myers  <joseph@codesourcery.com>
527169695Skan
528169695Skan	PR libgomp/25938
529169695Skan	* Makefile.am (libsubincludedir): New.
530169695Skan	(nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
531169695Skan	* Makefile.in: Regenerate.
532169695Skan
533169695Skan2006-08-17  Jakub Jelinek  <jakub@redhat.com>
534169695Skan
535169695Skan	PR libgomp/28725
536169695Skan	* env.c: Include ctype.h.
537169695Skan	(parse_schedule, parse_unsigned_long, parse_boolean): Allow
538169695Skan	leading and/or trailing whitespace and compare strings case
539169695Skan	insensitively.
540169695Skan
541169695Skan2006-07-16  Jakub Jelinek  <jakub@redhat.com>
542169695Skan
543169695Skan	PR fortran/28390
544169695Skan	* testsuite/libgomp.fortran/pr28390.f: New test.
545169695Skan
546169695Skan2006-07-05  Eric Christopher  <echristo@apple.com>
547169695Skan
548169695Skan	* configure.ac: Depend addition of -pthread on host OS.
549169695Skan	* configure: Regenerate.
550169695Skan
551169695Skan2006-06-21  Jakub Jelinek  <jakub@redhat.com>
552169695Skan
553169695Skan	* critical.c (GOMP_critical_name_start): Fix *pptr initialization
554169695Skan	when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is
555169695Skan	defined.
556169695Skan
557169695Skan2006-06-20  Jakub Jelinek  <jakub@redhat.com>
558169695Skan
559169695Skan	PR libgomp/26175
560169695Skan	PR libgomp/26477
561169695Skan	* configure.ac: If neither --enable-linux-futex nor
562169695Skan	--disable-linux-futex is passed, determine the default by checking
563169695Skan	for compiling and/or running against NPTL.  With --enable-linux-futex,
564169695Skan	check if SYS_gettid and SYS_futex are defined.
565169695Skan	* configure: Rebuilt.
566169695Skan
567169695Skan2006-06-14  Richard Henderson  <rth@redhat.com>
568169695Skan
569169695Skan	PR libgomp/28008
570169695Skan	* env.c (initialize_env): Avoid using PTHREAD_STACK_MIN when
571169695Skan	undefined.  Use GOMP_STACKSIZE not OMP_STACKSIZE for environment.
572169695Skan
573169695Skan2006-06-09  Richard Henderson  <rth@redhat.com>
574169695Skan
575169695Skan	* env.c (gomp_nthreads_var): Change to unsigned long.
576169695Skan	(gomp_run_sched_chunk): Likewise.
577169695Skan	(parse_unsigned_long): Rename from parse_num_threads and generalize.
578169695Skan	(initialize_env): Initialize gomp_thread_attr.
579169695Skan	* libgomp.h (gomp_nthreads_var): Update decl.
580169695Skan	(gomp_run_sched_chunk): Likewise.
581169695Skan	(gomp_thread_attr): Declare.
582169695Skan	* team.c (gomp_thread_attr): Export.
583169695Skan	(initialize_team): Don't initialize it.
584169695Skan
585169695Skan2006-06-09  Jakub Jelinek  <jakub@redhat.com>
586169695Skan
587169695Skan	PR fortran/27916
588169695Skan	* testsuite/libgomp.fortran/pr27916-1.f90: New test.
589169695Skan	* testsuite/libgomp.fortran/pr27916-2.f90: New test.
590169695Skan
591169695Skan2006-06-06  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
592169695Skan
593169695Skan	* config/mingw32/time.c: New file.
594169695Skan	* configure.tgt: Use it.
595169695Skan
596169695Skan2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
597169695Skan
598169695Skan	* Makefile.am: Add install-html target. Add install-html to .PHONY
599169695Skan	* Makefile.in: Regenerate.
600169695Skan
601169695Skan2006-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
602169695Skan
603169695Skan	PR libgomp/27612
604169695Skan	* testsuite/libgomp.c/sections-1.c: Require sync_int_long.
605169695Skan	* testsuite/libgomp.c/critical-1.c: Likewise.
606169695Skan	* testsuite/libgomp.c/loop-1.c: Likewise.
607169695Skan	* testsuite/libgomp.c/loop-2.c: Likewise.
608169695Skan	* testsuite/libgomp.c/single-1.c: Likewise.
609169695Skan	* testsuite/libgomp.c/ordered-1.c: Likewise.
610169695Skan	* testsuite/libgomp.c/ordered-2.c: Likewise.
611169695Skan
612169695Skan2006-05-15  Jakub Jelinek  <jakub@redhat.com>
613169695Skan
614169695Skan	PR middle-end/27416
615169695Skan	* libgomp.fortran/pr27416-1.f90: New test.
616169695Skan
617169695Skan2006-05-03  Jakub Jelinek  <jakub@redhat.com>
618169695Skan
619169695Skan	PR fortran/27395
620169695Skan	* testsuite/libgomp.fortran/pr27395-1.f90: New test.
621169695Skan	* testsuite/libgomp.fortran/pr27395-2.f90: New test.
622169695Skan
623169695Skan2006-05-02  Jakub Jelinek  <jakub@redhat.com>
624169695Skan
625169695Skan	PR c++/26943
626169695Skan	* testsuite/libgomp.c/pr26943-1.c: New test.
627169695Skan	* testsuite/libgomp.c/pr26943-2.c: New test.
628169695Skan	* testsuite/libgomp.c/pr26943-3.c: New test.
629169695Skan	* testsuite/libgomp.c/pr26943-4.c: New test.
630169695Skan	* testsuite/libgomp.c++/pr27337.C: Remove barrier.
631169695Skan	* testsuite/libgomp.c++/pr26943.C: New test.
632169695Skan
633169695Skan2006-05-02  Jakub Jelinek  <jakub@redhat.com>
634169695Skan
635169695Skan	PR middle-end/27337
636169695Skan	* testsuite/libgomp.c++/pr27337.C: New test.
637169695Skan
638169695Skan2006-04-26  Jakub Jelinek  <jakub@redhat.com>
639169695Skan
640169695Skan	PR c/26171
641169695Skan	* testsuite/libgomp.c/pr26171.c: New test.
642169695Skan
643169695Skan2006-04-25  Richard Henderson  <rth@redhat.com>
644169695Skan
645169695Skan	PR libgomp/25865
646169695Skan	* configure.ac: Use GCC_CHECK_TLS.
647169695Skan	* acinclude.m4 (LIBGOMP_CHECK_TLS): Remove.
648169695Skan	* Makefile.in, aclocal.m4, configure: Regenerate.
649169695Skan
650169695Skan2006-04-10  Matthias Klose  <doko@debian.org>
651169695Skan
652169695Skan	* testsuite/lib/libgomp.exp (libgomp_init): Recognize multilib
653169695Skan	directory names containing underscores.
654169695Skan
655169695Skan2006-03-21  Jakub Jelinek  <jakub@redhat.com>
656169695Skan
657169695Skan	PR c++/26691
658169695Skan	* testsuite/libgomp.c++/pr26691.C: New test.
659169695Skan
660169695Skan2006-03-13  Jakub Jelinek  <jakub@redhat.com>
661169695Skan
662169695Skan	* testsuite/libgomp.fortran/retval2.f90: New test.
663169695Skan
664169695Skan2006-03-09  Diego Novillo  <dnovillo@redhat.com>
665169695Skan
666169695Skan	* testsuite/libgomp.c++: New directory.
667169695Skan
668169695Skan2006-02-25  Shantonu Sen  <ssen@opendarwin.org>
669169695Skan
670169695Skan	* config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions.
671169695Skan	* config/posix/sem.c: Implement the above.
672169695Skan
673169695Skan2006-02-25  Andreas Tobler  <a.tobler@schweiz.ch>
674169695Skan
675169695Skan	* configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and
676169695Skan	define HAVE_BROKEN_POSIX_SEMAPHORES.
677169695Skan	* configure: Rebuilt.
678169695Skan	* config.h.in: Rebuilt.
679169695Skan
680169695Skan2006-02-17  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
681169695Skan
682169695Skan	PR bootstrap/26161
683169695Skan	* configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment
684169695Skan	for the other pthread check.
685169695Skan	* configure: Regenerate.
686169695Skan	* config.h.in: Regenerate.
687169695Skan
688169695Skan2006-02-15  Jakub Jelinek  <jakub@redhat.com>
689169695Skan
690169695Skan	PR libgomp/25938
691169695Skan	PR libgomp/25984
692169695Skan	* Makefile.am (fincludedir): New variable.
693169695Skan	(nodist_include_HEADERS): Remove Fortran files.
694169695Skan	(nodist_finclude_HEADERS): New variable.
695169695Skan	* Makefile.in: Regenerated.
696169695Skan
697169695Skan2006-02-13  Jakub Jelinek  <jakub@redhat.com>
698169695Skan
699169695Skan	* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
700169695Skan	Remove tests for returning assumed character length arrays.
701169695Skan
702169695Skan2006-02-12  Roger Sayle  <roger@eyesopen.com>
703169695Skan	    John David Anglin  <dave@hiauly1.hia.nrc.ca>
704169695Skan
705169695Skan	PR libgomp/25936
706169695Skan	* configure.tgt: Link against -lrt for sem_init on HPUX v11 systems.
707169695Skan
708169695Skan2006-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
709169695Skan
710169695Skan	* testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library.
711169695Skan
712169695Skan2006-02-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
713169695Skan
714169695Skan	* testsuite/lib/libgomp-dg.exp (libgomp_init): Compute multilib related
715169695Skan	part of LD_LIBRARY_PATH manually.
716169695Skan
717169695Skan2006-02-03  H.J. Lu  <hongjiu.lu@intel.com>
718169695Skan
719169695Skan	PR libgomp/25852
720169695Skan	* testsuite/lib/libgomp-dg.exp (blddir): Set it in
721169695Skan	libgomp_init.
722169695Skan
723169695Skan2005-01-25  Paolo Bonzini  <bonzini@gnu.org>
724169695Skan
725169695Skan	PR libgomp/25884
726169695Skan	* Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove.
727169695Skan	* configure.ac (PERL): Don't set.
728169695Skan	(gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here.
729169695Skan	(OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE,
730169695Skan	OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions.
731169695Skan	* omp.h.in: Wrap the new configure substitutions with @ characters.
732169695Skan	* omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise.
733169695Skan	* aclocal.m4, configure, Makefile.in: Regenerate.
734169695Skan	* mkomp_h.pl: Delete.
735169695Skan
736169695Skan2005-01-24  Paolo Bonzini  <bonzini@gnu.org>
737169695Skan
738169695Skan	PR libgomp/25259
739169695Skan	* configure.ac: Use GCC_HEADER_STDINT.
740169695Skan	* libgomp.h: Include gstdint.h.
741169695Skan	* libgomp_f.h.in: Don't include stdint.h or inttypes.h.
742169695Skan	* configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild.
743169695Skan
744169695Skan2006-01-24  Richard Henderson  <rth@redhat.com>
745169695Skan
746169695Skan	PR libgomp/25942
747169695Skan	* configure.ac: Add AM_MAINTAINER_MODE.
748169695Skan	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild.
749169695Skan
750169695Skan2006-01-24  Diego Novillo  <dnovillo@redhat.com>
751169695Skan
752169695Skan	* Makefile.in: Regenerate.
753169695Skan	* testsuite/Makefile.in: Regenerate.
754169695Skan	* aclocal.m4: Regenerate.
755169695Skan
756169695Skan2006-01-23  Andreas Tobler  <a.tobler@schweiz.ch>
757169695Skan
758169695Skan	* config/posix/proc.c: Conditional include of sys/loadavg.h for
759169695Skan	Solaris.
760169695Skan	* configure.ac: Add check for loadavg.h.
761169695Skan	(link_gomp): Adjust comment.
762169695Skan	* configure: Regenerate.
763169695Skan	* config.h.in: Regenerate.
764169695Skan
765169695Skan2006-01-21  Steve Ellcey  <sje@cup.hp.com>
766169695Skan
767169695Skan	PR libgomp/25877
768169695Skan	* configure.ac: Remove check for alloca.h.
769169695Skan	* configure: Regenerate.
770169695Skan	* config.h.in: Regenerate.
771169695Skan	* libgomp.h: define gomp_alloca to be __builtin_alloca.
772169695Skan	* team.c: Remove use of alloca.h.
773169695Skan	Call gomp_alloca instead of alloca.
774169695Skan
775169695Skan2006-01-20  Steve Ellcey  <sje@cup.hp.com>
776169695Skan
777169695Skan	PR libgomp/25877
778169695Skan	* team.c: Add include of alloca.h.
779169695Skan	* configure.ac: Add check for alloca.h.
780169695Skan	* configure: Regenerate.
781169695Skan	* config.h.in: Regenerate.
782169695Skan
783169695Skan2006-01-17  Jakub Jelinek  <jakub@redhat.com>
784169695Skan
785169695Skan	PR fortran/25219
786169695Skan	* testsuite/libgomp.fortran/pr25219.f90: New test.
787169695Skan
788169695Skan2005-12-05  Uros Bizjak  <uros@kss-loka.si>
789169695Skan
790169695Skan	* testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c,
791169695Skan	testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c,
792169695Skan	testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
793169695Skan	testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
794169695Skan	testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C,
795169695Skan	testsuite/libgomp.fortran/threadprivate1.f90,
796169695Skan	testsuite/libgomp.fortran/threadprivate2.f90,
797169695Skan	testsuite/libgomp.fortran/threadprivate3.f90,
798169695Skan	testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
799169695Skan	testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
800169695Skan	testsuite/libgomp.fortran/omp_parse3.f90: Change required
801169695Skan	effective-target to TLS runtime.
802169695Skan
803169695Skan	* testsuite/libgomp.fortran/pr25162.f: Require
804169695Skan	effective-target TLS runtime.
805169695Skan
806169695Skan2005-12-01  Jakub Jelinek  <jakub@redhat.com>
807169695Skan
808169695Skan	* testsuite/libgomp.fortran/nestedfn2.f90: New test.
809169695Skan	* testsuite/libgomp.c/nestedfn-3.c: New test.
810169695Skan
811169695Skan2005-11-30  Jakub Jelinek  <jakub@redhat.com>
812169695Skan
813169695Skan	PR fortran/25162
814169695Skan	* testsuite/libgomp.fortran/pr25162.f: New test.
815169695Skan
816169695Skan2005-11-28  Jakub Jelinek  <jakub@redhat.com>
817169695Skan
818169695Skan	* config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to
819169695Skan	CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed.
820169695Skan
821169695Skan2005-11-25  Jakub Jelinek  <jakub@redhat.com>
822169695Skan
823169695Skan	* alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c,
824169695Skan	libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in,
825169695Skan	omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c,
826169695Skan	single.c, team.c, work.c, config/linux/alpha/futex.h,
827169695Skan	config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h,
828169695Skan	config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h,
829169695Skan	config/linux/powerpc/futex.h, config/linux/s390/futex.h,
830169695Skan	config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h,
831169695Skan	config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h,
832169695Skan	config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c,
833169695Skan	config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update
834169695Skan	FSF address.
835169695Skan
836169695Skan2005-11-18  Jakub Jelinek  <jakub@redhat.com>
837169695Skan
838169695Skan	* Makefile.am: Move libgomp_f.h from nodist_include_HEADERS
839169695Skan	to nodist_noinst_HEADERS.
840169695Skan	* Makefile.in: Rebuilt.
841169695Skan
842169695Skan	* config/posix/omp-lock.h (omp_nest_lock_t): Change into struct,
843169695Skan	add integer count field.
844169695Skan	* config/posix/lock.c (omp_destroy_nest_lock): Adjust for
845169695Skan	omp_nest_lock_t type change.
846169695Skan	(omp_init_nest_lock): Likewise.  Initialize count to 0.
847169695Skan	(omp_set_nest_lock): Adjust for omp_nest_lock_t type change.
848169695Skan	Increment count.
849169695Skan	(omp_unset_nest_lock): Adjust for omp_nest_lock_t type change.
850169695Skan	Decrement count.
851169695Skan	(omp_test_nest_lock): Adjust for omp_nest_lock_t type change.
852169695Skan	Increment count if successful and return the new nesting level.
853169695Skan	* config/linux/lock.c (omp_test_nest_lock): Return new nesting level.
854169695Skan	* omp_lib.f90.in (omp_test_lock): Fix LOCK argument type.
855169695Skan	* testsuite/libgomp.c/lib-1.c: New test.
856169695Skan	* testsuite/libgomp.fortran/lib1.f90: New test.
857169695Skan	* testsuite/libgomp.fortran/lib2.f: New test.
858169695Skan	* testsuite/libgomp.fortran/lib3.f: New test.
859169695Skan
860169695Skan2005-11-17  Richard Henderson  <rth@redhat.com>
861169695Skan
862169695Skan	PR 24845
863169695Skan	* Makefile.am (nodist_toolexeclib_HEADERS): New.
864169695Skan	* configure.ac (link_gomp): New.  Substitute it.
865169695Skan	(AC_CONFIG_FILES): Add libgomp.spec.
866169695Skan	* libgomp.spec.in: New file.
867169695Skan	* Makefile.in, testsuite/Makefile.in, configure: Rebuild.
868169695Skan	* testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags.
869169695Skan
870169695Skan2005-11-18  Jakub Jelinek  <jakub@redhat.com>
871169695Skan
872169695Skan	* testsuite/libgomp.fortran/reduction1.f90: Adjust for
873169695Skan	reduction(-:var) behaving the same as reduction(+:var).
874169695Skan	* testsuite/libgomp.c/reduction-4.c: New test.
875169695Skan
876169695Skan2005-11-15  Uros Bizjak  <uros@kss-loka.si>
877169695Skan
878169695Skan	* testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c,
879169695Skan	testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c,
880169695Skan	testsuite/libgomp.c/copyin-3.c,
881169695Skan	testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
882169695Skan	testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
883169695Skan	testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C,
884169695Skan	testsuite/libgomp.c++/pr24455.C,
885169695Skan	testsuite/libgomp.fortran/threadprivate1.f90,
886169695Skan	testsuite/libgomp.fortran/threadprivate2.f90,
887169695Skan	testsuite/libgomp.fortran/threadprivate3.f90,
888169695Skan	testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
889169695Skan	testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
890169695Skan	testsuite/libgomp.fortran/omp_parse3.f90: Require
891169695Skan	effective-target TLS.
892169695Skan
893169695Skan2005-11-14  Diego Novillo  <dnovillo@redhat.com>
894169695Skan
895169695Skan	* HEADER: Remove.
896169695Skan
897169695Skan2005-11-13  Jakub Jelinek  <jakub@redhat.com>
898169695Skan
899169695Skan	PR libgomp/24797
900169695Skan	* team.c (initialize_team): Pass NULL rather than free as
901169695Skan	pthread_key_create destructor.  Initialize thread specific data
902169695Skan	pointer in initial thread to a static local variable rather than
903169695Skan	malloced memory.
904169695Skan
905169695Skan2005-11-11  Uros Bizjak  <uros@kss-loka.si>
906169695Skan
907169695Skan	* testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append
908169695Skan	its location to ld_library_path.
909169695Skan
910169695Skan2005-11-10  Diego Novillo  <dnovillo@redhat.com>
911169695Skan
912169695Skan	* testsuite/libgomp.c/c.exp: Rename from dg.exp.
913169695Skan
914169695Skan2005-11-10  Diego Novillo  <dnovillo@redhat.com>
915169695Skan
916169695Skan	* testsuite/libgomp.c: Rename from libgomp.dg.
917169695Skan
918169695Skan2005-11-09  Diego Novillo  <dnovillo@redhat.com>
919169695Skan
920169695Skan	* testsuite/libgomp.c++/pr24455.C: Add copyin clause for
921169695Skan	threadprivate variable 'i'.
922169695Skan
923169695Skan2005-11-09  Jakub Jelinek  <jakub@redhat.com>
924169695Skan
925169695Skan	* config/linux/s390/futex.h: New file.
926169695Skan	* configure.tgt: Use it.
927169695Skan
928169695Skan	* testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization
929169695Skan	before the parallel.
930169695Skan
931169695Skan2005-11-08  Jakub Jelinek  <jakub@redhat.com>
932169695Skan
933169695Skan	PR c++/24734
934169695Skan	* testsuite/libgomp.c++/master-1.C: New test.
935169695Skan
936169695Skan2005-11-07  Jakub Jelinek  <jakub@redhat.com>
937169695Skan
938169695Skan	* testsuite/libgomp.dg/copyin-3.c: New test.
939169695Skan
940169695Skan2005-11-07  Jakub Jelinek  <jakub@redhat.com>
941169695Skan
942169695Skan	* testsuite/libgomp.fortran/retval1.f90: New test.
943169695Skan	* testsuite/libgomp.fortran/vla7.f90: New test.
944169695Skan
945169695Skan2005-11-06  Jakub Jelinek  <jakub@redhat.com>
946169695Skan
947169695Skan	* testsuite/libgomp.fortran/vla2.f90: New test.
948169695Skan	* testsuite/libgomp.fortran/vla3.f90: New test.
949169695Skan	* testsuite/libgomp.fortran/vla4.f90: New test.
950169695Skan	* testsuite/libgomp.fortran/vla5.f90: New test.
951169695Skan	* testsuite/libgomp.fortran/vla6.f90: New test.
952169695Skan
953169695Skan2005-11-01  Jakub Jelinek  <jakub@redhat.com>
954169695Skan
955169695Skan	* config/linux/sparc/futex.h: New file.
956169695Skan	* configure.tgt: Use it.
957169695Skan	* testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing.
958169695Skan
959169695Skan	* critical.c: Include stdlib.h.
960169695Skan	* acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about
961169695Skan	ignoring return value.
962169695Skan	* configure.ac: Don't put -Wc,-pthread into XCFLAGS until after
963169695Skan	LIBGOMP_CHECK_SYNC_BUILTINS check.
964169695Skan	* configure: Rebuilt.
965169695Skan
966169695Skan2005-10-31  Jakub Jelinek  <jakub@redhat.com>
967169695Skan
968169695Skan	* testsuite/libgomp.fortran/vla1.f90: New test.
969169695Skan
970169695Skan2005-10-31  Richard Henderson  <rth@redhat.com>
971169695Skan
972169695Skan	* testsuite/libgomp.fortran/character2.f90: Fix race condition
973169695Skan	setting 's' in different threads.
974169695Skan
975169695Skan2005-10-31  Jakub Jelinek  <jakub@redhat.com>
976169695Skan
977169695Skan	* libgomp.h (attribute_hidden, ialias): Define.
978169695Skan	* config/posix/proc.c (omp_get_num_procs): Add ialias.
979169695Skan	* config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise.
980169695Skan	* config/posix/lock.c (omp_init_lock, omp_init_nest_lock,
981169695Skan	omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
982169695Skan	omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
983169695Skan	omp_test_lock, omp_test_nest_lock): Likewise.
984169695Skan	* config/linux/lock.c (omp_init_lock, omp_init_nest_lock,
985169695Skan	omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
986169695Skan	omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
987169695Skan	omp_test_lock, omp_test_nest_lock): Likewise.
988169695Skan	* env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads,
989169695Skan	omp_get_dynamic, omp_get_nested): Likewise.
990169695Skan	* parallel.c (omp_get_num_threads, omp_get_max_threads,
991169695Skan	omp_get_thread_num, omp_in_parallel): Likewise.
992169695Skan	* fortran.c (ialias_redirect): Define.
993169695Skan	(omp_init_lock, omp_init_nest_lock, omp_destroy_lock,
994169695Skan	omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock,
995169695Skan	omp_unset_lock, omp_unset_nest_lock, omp_test_lock,
996169695Skan	omp_test_nest_lock, omp_set_dynamic, omp_set_nested,
997169695Skan	omp_set_num_threads, omp_get_dynamic, omp_get_nested,
998169695Skan	omp_in_parallel, omp_get_max_threads, omp_get_num_procs,
999169695Skan	omp_get_num_threads, omp_get_thread_num, omp_get_wtick,
1000169695Skan	omp_get_wtime): Add ialias_redirect.
1001169695Skan
1002169695Skan2005-10-30  Jakub Jelinek  <jakub@redhat.com>
1003169695Skan
1004169695Skan	* fortran.c: Include stdlib.h.
1005169695Skan
1006169695Skan2005-10-29  Jakub Jelinek  <jakub@redhat.com>
1007169695Skan
1008169695Skan	* Makefile.am (env.o, env.lo): Depend on libgomp_f.h.
1009169695Skan	* Makefile.in: Regenerated.
1010169695Skan
1011169695Skan2005-10-28  Jakub Jelinek  <jakub@redhat.com>
1012169695Skan
1013169695Skan	* mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE.
1014169695Skan	* libgomp_f.h.in (omp_check_defines): New function.
1015169695Skan	* env.c: Include libgomp_f.h.
1016169695Skan	(initialize_env): Call omp_check_defines.
1017169695Skan
1018169695Skan	* testsuite/libgomp.dg/copyin-2.c: New test.
1019169695Skan	* testsuite/libgomp.c++/copyin-2.C: New test.
1020169695Skan	* testsuite/libgomp.fortran/threadprivate3.f90: New test.
1021169695Skan
1022169695Skan	* testsuite/libgomp.fortran/threadprivate2.f90: New test.
1023169695Skan	* testsuite/libgomp.fortran/sharing2.f90: New test.
1024169695Skan
1025169695Skan	* testsuite/libgomp.dg/copyin-1.c: New test.
1026169695Skan	* testsuite/libgomp.c++/copyin-1.C: New test.
1027169695Skan
1028169695Skan2005-10-26  Jakub Jelinek  <jakub@redhat.com>
1029169695Skan
1030169695Skan	* testsuite/libgomp.fortran/crayptr1.f90: New test.
1031169695Skan
1032169695Skan	* testsuite/libgomp.fortran/workshare1.f90: New test.
1033169695Skan
1034169695Skan	* libgomp.fortran/appendix-a/a.28.5.f90: Change into compile
1035169695Skan	only test.
1036169695Skan	* libgomp.fortran/sharing1.f90: New test.
1037169695Skan
1038169695Skan2005-10-24  Jakub Jelinek  <jakub@redhat.com>
1039169695Skan
1040169695Skan	PR c++/24502
1041169695Skan	* testsuite/libgomp.c++/loop-7.C: New test.
1042169695Skan
1043169695Skan	* testsuite/libgomp.dg/nestedfn-2.c: New test.
1044169695Skan
1045169695Skan	* testsuite/libgomp.dg/nestedfn-1.c: New test.
1046169695Skan	* testsuite/libgomp.fortran/reduction6.f90: New test.
1047169695Skan	* testsuite/libgomp.fortran/nestedfn1.f90: New test.
1048169695Skan
1049169695Skan2005-10-23  Richard Henderson  <rth@redhat.com>
1050169695Skan
1051169695Skan	* testsuite/libgomp.c++/ctor-1.C: New.
1052169695Skan	* testsuite/libgomp.c++/ctor-2.C: New.
1053169695Skan	* testsuite/libgomp.c++/ctor-3.C: New.
1054169695Skan	* testsuite/libgomp.c++/ctor-4.C: New.
1055169695Skan	* testsuite/libgomp.c++/ctor-5.C: New.
1056169695Skan	* testsuite/libgomp.c++/ctor-6.C: New.
1057169695Skan	* testsuite/libgomp.c++/ctor-7.C: New.
1058169695Skan	* testsuite/libgomp.c++/ctor-8.C: New.
1059169695Skan	* testsuite/libgomp.c++/ctor-9.C: New.
1060169695Skan
1061169695Skan2005-10-21  Diego Novillo  <dnovillo@redhat.com>
1062169695Skan
1063169695Skan	PR 24455
1064169695Skan	* testsuite/libgomp.c++/pr24455-1.C: New test.
1065169695Skan	* testsuite/libgomp.c++/pr24455.C: New test.
1066169695Skan	* testsuite/libgomp.dg/pr24455-1.c: New test.
1067169695Skan	* testsuite/libgomp.dg/pr24455.c: New test.
1068169695Skan
1069169695Skan2005-10-20  Richard Henderson  <rth@redhat.com>
1070169695Skan
1071169695Skan	* testsuite/libgomp.c++/loop-6.C: New.
1072169695Skan	* testsuite/libgomp.dg/loop-3.c: New.
1073169695Skan
1074169695Skan2005-10-20  Jakub Jelinek  <jakub@redhat.com>
1075169695Skan
1076169695Skan	* testsuite/libgomp.fortran/jacobi.f: Don't make i and j
1077169695Skan	explicitly private.
1078169695Skan	* testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i
1079169695Skan	explicitly shared.
1080169695Skan
1081169695Skan2005-10-19  Diego Novillo  <dnovillo@redhat.com>
1082169695Skan
1083169695Skan	* testsuite/libgomp.fortran/jacobi.f: New test.
1084169695Skan
1085169695Skan2005-10-19  Richard Henderson  <rth@redhat.com>
1086169695Skan
1087169695Skan	* configure.tgt (i?86-linux): Default to with_arch instead of
1088169695Skan	CFLAGS.  Add -mtune to match target_cpu.
1089169695Skan	(x86_64-linux): Tune to i686.
1090169695Skan
1091169695Skan	* fortran.c (omp_test_nest_lock_): Fix typo.
1092169695Skan
1093169695Skan2005-10-19  Jakub Jelinek  <jakub@redhat.com>
1094169695Skan
1095169695Skan	* ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
1096169695Skan	gomp_ordered_sync): Do nothing if team->nthreads == 1.
1097169695Skan	* testsuite/libgomp.dg/ordered-3.c: New test.
1098169695Skan
1099169695Skan	* testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort.
1100169695Skan	Remove volatile keyword.
1101169695Skan
1102169695Skan	* testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables
1103169695Skan	in COMMON block to avoid warnings on 64-bit targets.
1104169695Skan
1105169695Skan2005-10-18  Diego Novillo  <dnovillo@redhat.com>
1106169695Skan
1107169695Skan	* testsuite/libgomp.dg/shared-3.c: New test.
1108169695Skan
1109169695Skan2005-10-18  Jakub Jelinek  <jakub@redhat.com>
1110169695Skan
1111169695Skan	* testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed.
1112169695Skan	* testsuite/libgomp.fortran/reduction5.f90: New test.
1113169695Skan
1114169695Skan2005-10-18  Jakub Jelinek  <jakub@redhat.com>
1115169695Skan
1116169695Skan	* testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to
1117169695Skan	dg-options.
1118169695Skan	* testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise.  Enable
1119169695Skan	flush loop now that __sync_synchronize has proper memory barrier.
1120169695Skan	* testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo.
1121169695Skan	Add -ffixed-form to dg-options.
1122169695Skan
1123169695Skan2005-10-17  Diego Novillo  <dnovillo@redhat.com>
1124169695Skan
1125169695Skan	* testsuite/libgomp.fortran/fortran.exp: Also gather tests
1126169695Skan	from subdirectories.
1127169695Skan	* testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test.
1128169695Skan	* testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test.
1129169695Skan	* testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test.
1130169695Skan	* testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test.
1131169695Skan	* testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test.
1132169695Skan	* testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test.
1133169695Skan	* testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test.
1134169695Skan	* testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test.
1135169695Skan	* testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test.
1136169695Skan	* testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test.
1137169695Skan	* testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test.
1138169695Skan	* testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test.
1139169695Skan	* testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test.
1140169695Skan	* testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test.
1141169695Skan	* testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test.
1142169695Skan	* testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test.
1143169695Skan	* testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test.
1144169695Skan	* testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test.
1145169695Skan	* testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test.
1146169695Skan	* testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test.
1147169695Skan	* testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test.
1148169695Skan	* testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test.
1149169695Skan	* testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test.
1150169695Skan	* testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test.
1151169695Skan	* testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test.
1152169695Skan
1153169695Skan2005-10-17  Jakub Jelinek  <jakub@redhat.com>
1154169695Skan
1155169695Skan	* testsuite/libgomp.dg/dg.exp: Only unset lang_* if
1156169695Skan	lang_library_path exists.  Use find instead of glob to gather tests.
1157169695Skan	* testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed.
1158169695Skan
1159169695Skan2005-10-17  Diego Novillo  <dnovillo@redhat.com>
1160169695Skan
1161169695Skan	* testsuite/libgomp.dg/appendix-a/a.15.1.c: New test.
1162169695Skan	* testsuite/libgomp.dg/appendix-a/a.16.1.c: New test.
1163169695Skan	* testsuite/libgomp.dg/appendix-a/a.18.1.c: New test.
1164169695Skan	* testsuite/libgomp.dg/appendix-a/a.19.1.c: New test.
1165169695Skan	* testsuite/libgomp.dg/appendix-a/a.2.1.c: New test.
1166169695Skan	* testsuite/libgomp.dg/appendix-a/a.21.1.c: New test.
1167169695Skan	* testsuite/libgomp.dg/appendix-a/a.26.1.c: New test.
1168169695Skan	* testsuite/libgomp.dg/appendix-a/a.29.1.c: New test.
1169169695Skan	* testsuite/libgomp.dg/appendix-a/a.3.1.c: New test.
1170169695Skan	* testsuite/libgomp.dg/appendix-a/a.39.1.c: New test.
1171169695Skan	* testsuite/libgomp.dg/appendix-a/a.4.1.c: New test.
1172169695Skan	* testsuite/libgomp.dg/appendix-a/a.5.1.c: New test.
1173169695Skan	* testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file.
1174169695Skan
1175169695Skan2005-10-15  Jakub Jelinek  <jakub@redhat.com>
1176169695Skan
1177169695Skan	* testsuite/libgomp.dg/vla-1.c: New test.
1178169695Skan
1179169695Skan	* testsuite/libgomp.fortran/reference2.f90: New test.
1180169695Skan
1181169695Skan	* testsuite/libgomp.fortran/character2.f90: Remove explicit
1182169695Skan	declaration of omp_get_thread_num.
1183169695Skan	* testsuite/libgomp.fortran/threadprivate1.f90: Likewise.  Add
1184169695Skan	use omp_lib.
1185169695Skan
1186169695Skan	* testsuite/libgomp.fortran/reduction1.f90: New test.
1187169695Skan	* testsuite/libgomp.fortran/reduction2.f90: New test.
1188169695Skan	* testsuite/libgomp.fortran/reduction3.f90: New test.
1189169695Skan	* testsuite/libgomp.fortran/reduction4.f90: New test.
1190169695Skan
1191169695Skan2005-10-13  Richard Henderson  <rth@redhat.com>
1192169695Skan
1193169695Skan	* Makefile.am (libgomp_la_SOURCES): Add bar.c.
1194169695Skan	* Makefile.in: Regenerate.
1195169695Skan	* barrier.c (GOMP_barrier): Use gomp_barrier_wait.
1196169695Skan	* libgomp.h: Include bar.h.
1197169695Skan	(struct gomp_barrier): Remove.
1198169695Skan	(struct gomp_team): Add barrier.  Replace master_barrier with
1199169695Skan	master_release.  Replace threads with ordered_release.
1200169695Skan	(struct gomp_thread): Replace barrier with release.
1201169695Skan	* ordered.c (gomp_ordered_first): Update for ordered_release change.
1202169695Skan	(gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init,
1203169695Skan	gomp_ordered_static_next, gomp_ordered_sync): Likewise.
1204169695Skan	* single.c (GOMP_single_copy_start): Use gomp_barrier_wait.
1205169695Skan	(GOMP_single_copy_end): Likewise.
1206169695Skan	* team.c (gomp_threads_dock): New.
1207169695Skan	(gomp_barrier_init, gomp_barrier_destroy): Remove.
1208169695Skan	(gomp_thread_start): Use gomp_barrier_wait.
1209169695Skan	(new_team, free_team): Update for gomp_team changes.
1210169695Skan	(gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit.
1211169695Skan	(gomp_team_end): Use gomp_barrier_wait.
1212169695Skan	(initialize_team): Update for gomp_thread changes.
1213169695Skan	* work.c (gomp_work_share_end): Use gomp_barrier_wait_start.
1214169695Skan	(gomp_work_share_end_nowait): Use atomic ops when available.
1215169695Skan	* config/linux/bar.c, config/linux/bar.h: New files.
1216169695Skan	* config/posix/bar.c, config/posix/bar.h: New files.
1217169695Skan
1218169695Skan2005-10-13  Jakub Jelinek  <jakub@redhat.com>
1219169695Skan
1220169695Skan	* single.c (GOMP_single_copy_end): Don't segfault if team is NULL.
1221169695Skan	* testsuite/libgomp.dg/single-2.c: New test.
1222169695Skan
1223169695Skan	* testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file,
1224169695Skan	lang_link_flags): Unset, so that they aren't inherited from previously
1225169695Skan	sourced *.exp.
1226169695Skan
1227169695Skan	* testsuite/libgomp.fortran/threadprivate1.f90: New test.
1228169695Skan
1229169695Skan2005-10-12  Richard Henderson  <rth@redhat.com>
1230169695Skan
1231169695Skan	* testsuite/lib/libgomp-dg.exp: Set blddir at toplevel.
1232169695Skan	(libgomp_init): Use lang_test_file, lang_library_path, and
1233169695Skan	lang_link_flags, set by the subdirectory files.  Add -fopenmp here.
1234169695Skan
1235169695Skan	* testsuite/libgomp.fortran/fortran.exp (lang_library_path): New.
1236169695Skan	(lang_test_file, lang_link_flags): New.
1237169695Skan	(DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove.
1238169695Skan
1239169695Skan	* testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C,
1240169695Skan	testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C,
1241169695Skan	testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C,
1242169695Skan	testsuite/libgomp.c++/parallel-1.C,
1243169695Skan	testsuite/libgomp.c++/reduction-1.C,
1244169695Skan	testsuite/libgomp.c++/reduction-2.C,
1245169695Skan	testsuite/libgomp.c++/reduction-3.C,
1246169695Skan	testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C,
1247169695Skan	testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C,
1248169695Skan	testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C:
1249169695Skan	New files, largely cribbed from the C testsuite.
1250169695Skan
1251169695Skan2005-10-12  Jakub Jelinek  <jakub@redhat.com>
1252169695Skan
1253169695Skan	* testsuite/libgomp.fortran/character1.f90: New test.
1254169695Skan	* testsuite/libgomp.fortran/character2.f90: New test.
1255169695Skan
1256169695Skan	* testsuite/libgomp.dg/nested-1.c: New test.
1257169695Skan	* testsuite/libgomp.dg/nested-2.c: New test.
1258169695Skan	* testsuite/libgomp.fortran/do1.f90: New test.
1259169695Skan	* testsuite/libgomp.fortran/do2.f90: New test.
1260169695Skan
1261169695Skan	* testsuite/libgomp.fortran/reference1.f90: New test.
1262169695Skan
1263169695Skan2005-10-11  Jakub Jelinek  <jakub@redhat.com>
1264169695Skan
1265169695Skan	* testsuite/libgomp.dg/reduction-1.c: New test.
1266169695Skan	* testsuite/libgomp.dg/reduction-2.c: New test.
1267169695Skan	* testsuite/libgomp.dg/reduction-3.c: New test.
1268169695Skan
1269169695Skan2005-10-10  Jakub Jelinek  <jakub@redhat.com>
1270169695Skan
1271169695Skan	* testsuite/libgomp.dg/atomic-1.c: New test.
1272169695Skan	* testsuite/libgomp.dg/atomic-2.c: New test.
1273169695Skan
1274169695Skan2005-10-09  Richard Henderson  <rth@redhat.com>
1275169695Skan
1276169695Skan	* critical.c (atomic_lock): New.
1277169695Skan	(initialize_critical): Initialize it.
1278169695Skan	(GOMP_atomic_start, GOMP_atomic_end): New.
1279169695Skan	* libgomp.map: Export them.
1280169695Skan	* libgomp_g.h: Declare them.
1281169695Skan
1282169695Skan	* testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite.
1283169695Skan
1284169695Skan2005-10-02  Richard Henderson  <rth@redhat.com>
1285169695Skan
1286169695Skan	* configure.ac: Move save_CFLAGS hack earlier.  Append -Wall/-Werror
1287169695Skan	to XCFLAGS instead of CFLAGS.
1288169695Skan
1289169695Skan2005-09-30  Richard Henderson  <rth@redhat.com>
1290169695Skan
1291169695Skan	* configure.ac: Determine whether -pthread or -lpthread is needed.
1292169695Skan	* Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread.
1293169695Skan	* Makefine.in, configure: Rebuild.
1294169695Skan
1295169695Skan2005-09-28  Richard Henderson  <rth@redhat.com>
1296169695Skan
1297169695Skan	* testsuite/libgomp.dg/omp-loop03.c: Fix return code.
1298169695Skan	* testsuite/libgomp.dg/omp-single-3.c: New test.
1299169695Skan
1300169695Skan2005-09-28  Diego Novillo  <dnovillo@redhat.com>
1301169695Skan
1302169695Skan	* testsuite/libgomp.dg/omp-single-2.c: New test.
1303169695Skan	* testsuite/libgomp.dg/shared-2.c: Fix return code.
1304169695Skan
1305169695Skan2005-09-27  Richard Henderson  <rth@redhat.com>
1306169695Skan
1307169695Skan	* testsuite/libgomp.dg/omp-loop03.c: Add initial barrier.
1308169695Skan	* testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule.
1309169695Skan
1310169695Skan2005-09-27  Jakub Jelinek  <jakub@redhat.com>
1311169695Skan
1312169695Skan	* testsuite/libgomp.dg/omp-loop03.c: New test.
1313169695Skan
1314169695Skan2005-09-27  Diego Novillo  <dnovillo@redhat.com>
1315169695Skan
1316169695Skan	* testsuite/libgomp.dg/omp-parallel-for.c: New test.
1317169695Skan
1318169695Skan2005-09-27  Diego Novillo  <dnovillo@redhat.com>
1319169695Skan
1320169695Skan	* testsuite/libgomp.dg/omp-single-1.c: New test.
1321169695Skan	* testsuite/libgomp.dg/shared-1.c: Return 0.
1322169695Skan	Add prototype for abort.
1323169695Skan	* testsuite/libgomp.dg/shared-2.c: Likewise.
1324169695Skan
1325169695Skan2005-09-26  Jakub Jelinek  <jakub@redhat.com>
1326169695Skan
1327169695Skan	* testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming
1328169695Skan	constructs.
1329169695Skan
1330169695Skan2005-09-26  Diego Novillo  <dnovillo@redhat.com>
1331169695Skan
1332169695Skan	* testsuite/libgomp.dg/shared-1.c: New test.
1333169695Skan	* testsuite/libgomp.dg/shared-2.c: New test.
1334169695Skan
1335169695Skan2005-09-24  Richard Henderson  <rth@redhat.com>
1336169695Skan
1337169695Skan	* testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error.
1338169695Skan
1339169695Skan2005-09-24  Richard Henderson  <rth@redhat.com>
1340169695Skan
1341169695Skan	* iter.c (gomp_iter_static_next): Round up when computing number
1342169695Skan	of iterations.  Don't bother distributing a remainder equally.
1343169695Skan
1344169695Skan	* testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main.
1345169695Skan	Don't call srand.  Zero b before testing.
1346169695Skan	(main): New.
1347169695Skan
1348169695Skan2005-09-24  Jakub Jelinek  <jakub@redhat.com>
1349169695Skan
1350169695Skan	* testsuite/libgomp.fortran/omp_atomic1.f90: New test.
1351169695Skan	* testsuite/libgomp.fortran/omp_atomic2.f90: New test.
1352169695Skan
1353169695Skan2005-09-23  Jakub Jelinek  <jakub@redhat.com>
1354169695Skan
1355169695Skan	* testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do
1356169695Skan	without !$omp end do, followed immediately by subroutine end.
1357169695Skan
1358169695Skan2005-09-23  Diego Novillo  <dnovillo@redhat.com>
1359169695Skan
1360169695Skan	* testsuite/libgomp.dg/omp-parallel-if.c: New test.
1361169695Skan
1362169695Skan2005-09-22  Richard Henderson  <rth@redhat.com>
1363169695Skan
1364169695Skan	* critical.c (GOMP_critical_name_start): Change argument to void**.
1365169695Skan	Reuse the pointer space if the mutex fits.
1366169695Skan	(GOMP_critical_name_end): Likewise.
1367169695Skan	(initialize_critical): Don't define if GOMP_MUTEX_INIT_0.
1368169695Skan	* libgomp_g.h (GOMP_critical_name_start): Update decl.
1369169695Skan	(GOMP_critical_name_end): Likewise.
1370169695Skan	* config/linux/mutex.h (GOMP_MUTEX_INIT_0): New.
1371169695Skan	* config/posix/mutex.h (GOMP_MUTEX_INIT_0): New.
1372169695Skan
1373169695Skan2005-09-20  Richard Henderson  <rth@redhat.com>
1374169695Skan
1375169695Skan	* critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New.
1376169695Skan	(create_lock_lock): New.
1377169695Skan	(initialize_critical): Initialize it.
1378169695Skan	* libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New.
1379169695Skan	* libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare.
1380169695Skan
1381169695Skan2005-09-20  Diego Novillo  <dnovillo@redhat.com>
1382169695Skan
1383169695Skan	* testsuite/libgom.dg/omp-loop01.c: Include stdio.h.
1384169695Skan
1385169695Skan2005-09-20  Diego Novillo  <dnovillo@redhat.com>
1386169695Skan
1387169695Skan	* testsuite/libgomp.dg/omp-loop01.c: New test.
1388169695Skan	* testsuite/libgomp.dg/omp-loop02.c: New test.
1389169695Skan
1390169695Skan2005-09-20  Jakub Jelinek  <jakub@redhat.com>
1391169695Skan
1392169695Skan	* configure.ac (AC_PROG_FC): Add.
1393169695Skan	(USE_FORTRAN): New automake conditional.
1394169695Skan	* configure: Rebuilt.
1395169695Skan	* Makefile.am (libgomp_la_SOURCES): Add fortran.c.
1396169695Skan	(nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h.
1397169695Skan	If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod.
1398169695Skan	Add rules to build them.
1399169695Skan	* Makefile.in: Rebuilt.
1400169695Skan	* mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and
1401169695Skan	OMP_NEST_LOCK_KIND.
1402169695Skan	* libgomp.map: Add Fortran wrappers.
1403169695Skan	* libgomp_f.h.in: New file.
1404169695Skan	* omp_lib.h.in: New file.
1405169695Skan	* omp_lib.f90.in: New file.
1406169695Skan	* fortran.c: New file.
1407169695Skan	* testsuite/lib/libgomp-dg.exp: Load a few more .exp files.
1408169695Skan	Append libgfortran directory to LD_LIBRARY_PATH if it exists.
1409169695Skan	Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if
1410169695Skan	libgfortran has been built.
1411169695Skan	* testsuite/libgomp.fortran/fortran.exp: New file.
1412169695Skan	* testsuite/libgomp.fortran/omp_cond1.f: New test.
1413169695Skan	* testsuite/libgomp.fortran/omp_cond2.f: New test.
1414169695Skan	* testsuite/libgomp.fortran/omp_cond3.F90: New test.
1415169695Skan	* testsuite/libgomp.fortran/omp_cond4.F90: New test.
1416169695Skan	* testsuite/libgomp.fortran/omp_hello.f: New test.
1417169695Skan	* testsuite/libgomp.fortran/omp_orphan.f: New test.
1418169695Skan	* testsuite/libgomp.fortran/omp_parse1.f90: New test.
1419169695Skan	* testsuite/libgomp.fortran/omp_parse2.f90: New test.
1420169695Skan	* testsuite/libgomp.fortran/omp_parse3.f90: New test.
1421169695Skan	* testsuite/libgomp.fortran/omp_parse4.f90: New test.
1422169695Skan	* testsuite/libgomp.fortran/omp_reduction.f: New test.
1423169695Skan	* testsuite/libgomp.fortran/omp_workshare1.f: New test.
1424169695Skan	* testsuite/libgomp.fortran/omp_workshare2.f: New test.
1425169695Skan
1426169695Skan2005-08-30  Richard Henderson  <rth@redhat.com>
1427169695Skan
1428169695Skan	* loop.c (GOMP_loop_static_start): Provide fallback wrapper
1429169695Skan	function for when aliases are not usable.
1430169695Skan	(GOMP_loop_dynamic_start, GOMP_loop_guided_start,
1431169695Skan	GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
1432169695Skan	GOMP_loop_ordered_guided_start, GOMP_loop_static_next,
1433169695Skan	GOMP_loop_dynamic_next, GOMP_loop_guided_next,
1434169695Skan	GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next,
1435169695Skan	GOMP_loop_ordered_guided_next): Likewise.
1436169695Skan	* ordered.c (GOMP_ordered_start): Likewise.
1437169695Skan
1438169695Skan2005-08-01  Diego Novillo  <dnovillo@redhat.com>
1439169695Skan
1440169695Skan	* testsuite/libgomp.dg/dg.exp: Use -O2 for now.
1441169695Skan	* testsuite/libgomp.dg/omp_hello.c: Fix return code
1442169695Skan	* testsuite/libgomp.dg/omp_matvec.c: Likewise.
1443169695Skan	* testsuite/libgomp.dg/omp_orphan.c: Likewise
1444169695Skan	* testsuite/libgomp.dg/omp_reduction.c: Likewise
1445169695Skan	* testsuite/libgomp.dg/omp_workshare1.c: Likewise
1446169695Skan	* testsuite/libgomp.dg/omp_workshare2.c: Likewise
1447169695Skan	* testsuite/libgomp.dg/omp_workshare3.c: Likewise
1448169695Skan	* testsuite/libgomp.dg/omp_workshare4.c: Likewise
1449169695Skan
1450169695Skan2005-07-07  Eric Christopher  <echristo@redhat.com>
1451169695Skan	    Diego Novillo  <dnovillo@redhat.com>
1452169695Skan
1453169695Skan	* testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS.
1454169695Skan	* testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix
1455169695Skan	up code.
1456169695Skan	* testsuite/libgomp.dg/omp_matvec.c: Ditto.
1457169695Skan	* testsuite/libgomp.dg/omp_orphan.c: Ditto.
1458169695Skan	* testsuite/libgomp.dg/omp_reduction.c: Ditto.
1459169695Skan	* testsuite/libgomp.dg/omp_workshare1.c: Ditto.
1460169695Skan	* testsuite/libgomp.dg/omp_workshare2.c: Ditto.
1461169695Skan	* testsuite/libgomp.dg/omp_workshare3.c: Ditto.
1462169695Skan	* testsuite/libgomp.dg/omp_workshare4.c: Ditto.
1463169695Skan
1464169695Skan2005-06-13  Diego Novillo  <dnovillo@redhat.com>
1465169695Skan
1466169695Skan	* TOPLEVEL.patch: Remove.
1467169695Skan
1468169695Skan2005-05-16  Richard Henderson  <rth@redhat.com>
1469169695Skan
1470169695Skan	* configure.ac: Test for clock_gettime.
1471169695Skan	* config.h.in, configure: Rebuild.
1472169695Skan	* config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern.
1473169695Skan	(omp_get_wtime): Use clock_gettime if available.
1474169695Skan	(omp_get_wtick): Use clock_getres if available.
1475169695Skan
1476169695Skan2005-05-11  Richard Henderson  <rth@redhat.com>
1477169695Skan
1478169695Skan	* config/linux/ia64/futex.h: New file.
1479169695Skan	* configure.tgt: Use it.
1480169695Skan
1481169695Skan	* team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline.
1482169695Skan
1483169695Skan2005-05-07  Richard Henderson  <rth@redhat.com>
1484169695Skan
1485169695Skan	* config/linux/powerpc/futex.h: New file.
1486169695Skan	* configure.tgt: Use it.
1487169695Skan
1488169695Skan	* config/linux/i486/futex.h: Merge ...
1489169695Skan	* config/linux/x86_64/futex.h: ... into ...
1490169695Skan	* config/linux/x86/futex.h: ... here.
1491169695Skan	* configure.tgt: Update to match.
1492169695Skan
1493169695Skan2005-05-06  Richard Henderson  <rth@redhat.com>
1494169695Skan
1495169695Skan	* config/linux/alpha/futex.h: Conditionally define SYS_futex.
1496169695Skan	* config/linux/i486/futex.h: Likewise.
1497169695Skan	* config/linux/x86_64/futex.h: Likewise.
1498169695Skan
1499169695Skan	* config/linux/lock.c: New file.
1500169695Skan	* config/linux/omp-lock.h: New file.
1501169695Skan
1502169695Skan	* critical.c, env.h: Don't include omp.h
1503169695Skan	* config/posix/lock.c: Include libgomp.h instead of omp.h.
1504169695Skan	* config/posix/time.c: Likewise.
1505169695Skan	* config/posix/omp-lock.h: New file.
1506169695Skan	* libgomp.h: Include omp-lock.h and omp.h.
1507169695Skan	* Makefile.am (nodist_include_HEADERS): New.
1508169695Skan	(omp.h): New rule.
1509169695Skan	* configure.ac (PERL): New.
1510169695Skan	* mkomp_h.pl: New file.
1511169695Skan	* omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t
1512169695Skan	with templates.
1513169695Skan	* Makefile.in, configure, testsuite/Makefile.in: Rebuild.
1514169695Skan
1515169695Skan	* testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into
1516169695Skan	build directory.  Re-add -march=i486 hack.
1517169695Skan
1518169695Skan	* testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove.
1519169695Skan	(libgomp_link_flags): Remove.
1520169695Skan	(libgomp_initialized): Remove.
1521169695Skan	(libgomp_init): Don't protect from reinitialization.  Copy code
1522169695Skan	from libstdc++ for getting the multilib set correctly.
1523169695Skan
1524169695Skan2005-05-05  Richard Henderson  <rth@redhat.com>
1525169695Skan
1526169695Skan	* config/linux/alpha/futex.h: New file.
1527169695Skan	* configure.tgt (alpha*-*-linux*): Use it.
1528169695Skan
1529169695Skan	* config/posix/mutex.c: New file.
1530169695Skan	* config/posix/sem.c: Use libgomp.h.
1531169695Skan
1532169695Skan	* configure.tgt (x86_64-linux): Also test CC for -m32.
1533169695Skan	* config/linux/x86_64/futex.h (futex_wait): Fix r10 usage.
1534169695Skan
1535169695Skan	* testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add /
1536169695Skan	after $gccpath.
1537169695Skan
1538169695Skan	* Makefile.am (SUBDIRS): New.
1539169695Skan	(libgomp_la_LDFLAGS): Add -lpthread.
1540169695Skan	* configure.ac (AM_INIT_AUTOMAKE): Enable dependencies.
1541169695Skan	* Makefile.in, aclocal.m4, config.h.in, configure: Rebuild.
1542169695Skan
1543169695Skan	* libgomp_g.h: New file.
1544169695Skan	* libgomp.h: Split out all public declarations to libgomp_g.h.
1545169695Skan	Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN.
1546169695Skan	* config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN.
1547169695Skan	* config/linux/sem.h: Likewise.
1548169695Skan	* config/posix/sem.h: Likewise.
1549169695Skan
1550169695Skan	* Makefile.am (AM_LDFLAGS): New.
1551169695Skan	(libgomp_version_script): Split out from ...
1552169695Skan	(libgomp_la_LDFLAGS): ... here.
1553169695Skan	(libgomp_version_info): New.
1554169695Skan	* acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE.
1555169695Skan	(LIBGOMP_ENABLE): New.
1556169695Skan	(LIBGOMP_CHECK_LINKER_FEATURES): New.
1557169695Skan	(LIBGOMP_ENABLE_SYMVERS): New.
1558169695Skan	* configure.ac (AC_INIT): Version 1.0.
1559169695Skan	(enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE.
1560169695Skan	(enable-linux-futex): Likewise.  Rename from enable-futex.
1561169695Skan	(libtool_VERSION): New.
1562169695Skan	(LIBGOMP_ENABLE_SYMVERS): Use it.
1563169695Skan	* configure.tgt: Check with_gnu_ld wrt have_tls optimizations.
1564169695Skan	* Makefile.in, aclocal.m4, configure: Rebuild.
1565169695Skan
1566169695Skan	* config/linux/mutex.c: Include libgomp.h instead of mutex.h.
1567169695Skan	(gomp_mutex_unlock_slow): Fix typo.
1568169695Skan	* config/linux/sem.c: Similarly.
1569169695Skan	(gomp_sem_post_slow): Fix typo.
1570169695Skan	* config/linux/sem.h (gomp_sem_post_slow): Fix typo.
1571169695Skan	* config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code.
1572169695Skan	[__PIC__] (sys_futex0): Don't use tmp output in asm.
1573169695Skan
1574169695Skan	* Makefile.am (AM_CFLAGS): Expand with XCFLAGS.
1575169695Skan	(libgomp_la_LDFLAGS): Add top_srcdir to path.
1576169695Skan	* acinclude.m4: Copy libtool.m4 stuff from libgfortran.
1577169695Skan	* configure.ac: Check for getloadavg.  Substitute XCFLAGS and
1578169695Skan	XLDFLAGS.  Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS.
1579169695Skan	* configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and
1580169695Skan	LDFLAGS.  Pull enable_futex check to top-level.
1581169695Skan	* libgomp.h: Fix sem.h and mutex.h includes.  Define ATTRIBUTE_HIDDEN.
1582169695Skan	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1583169695Skan
1584169695Skan	First attempt at real configury.
1585169695Skan	* Makefile, config.h: Remove file.
1586169695Skan	* Makefile.am, Makefile.in: New file.
1587169695Skan	* acinclude.m4 aclocal.m4: New file.
1588169695Skan	* configure.ac, configure.tgt, configure: New file.
1589169695Skan
1590169695Skan	* config/posix/lock.c: Rename from sys-lock.c.
1591169695Skan	* config/posix/mutex.h: Rename from sys-mutex.h.
1592169695Skan	* config/posix/sem.c: Rename from sys-sem.c.
1593169695Skan	* config/posix/sem.h: Rename from sys-sem.h.
1594169695Skan	* config/posix/proc.c: Rename from sys-proc.c.
1595169695Skan	* config/posix/time.c: Rename from sys-proc.c.
1596169695Skan
1597169695Skan	* config/linux/mutex.c: New file.
1598169695Skan	* config/linux/mutex.h: New file.
1599169695Skan	* config/linux/sem.c: New file.
1600169695Skan	* config/linux/sem.h: New file.
1601169695Skan	* config/linux/i486/futex.h: New file.
1602169695Skan	* config/linux/x86_64/futex.h: New file.
1603169695Skan
1604169695Skan2005-05-04  Richard Henderson  <rth@redhat.com>
1605169695Skan
1606169695Skan	* iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New.
1607169695Skan	* libgomp.h: Declare them.
1608169695Skan	* loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start,
1609169695Skan	gomp_loop_dynamic_next, gomp_loop_guided_next): Use them.
1610169695Skan
1611169695Skan2005-05-04  Richard Henderson  <rth@redhat.com>
1612169695Skan
1613169695Skan	* libgomp-1 code drop
1614169695Skan
1615169695Skan2005-05-04  Richard Henderson  <rth@redhat.com>
1616169695Skan
1617169695Skan	* iter.c (gomp_iter_static_next): Return tri-state on 0.
1618169695Skan	* ordered.c (gomp_ordered_static_next): Remove not_last argument.
1619169695Skan	* libgomp.h (struct gomp_team_state): Make static_trip unsigned.
1620169695Skan	(gomp_iter_static_next): Update.
1621169695Skan	(gomp_ordered_static_next): Update.
1622169695Skan	* loop.c (gomp_loop_static_start): Update for gomp_iter_static_next.
1623169695Skan	(gomp_loop_ordered_static_start): Likewise.  Exit early for a
1624169695Skan	totally empty range.
1625169695Skan	(gomp_loop_ordered_static_next): Refine test for calling
1626169695Skan	gomp_ordered_static_next.
1627169695Skan	* testsuite/ordered-1.c: Add case for more threads than iterations.
1628169695Skan
1629169695Skan	* iter.c (gomp_iter_runtime_next_locked): Remove.
1630169695Skan	* loop.c (gomp_loop_static_start, gomp_loop_dynamic_start,
1631169695Skan	gomp_loop_guided_start, gomp_loop_ordered_static_start,
1632169695Skan	gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start,
1633169695Skan	gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next,
1634169695Skan	gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next,
1635169695Skan	gomp_loop_ordered_guided_next): Downcase name, make static, add
1636169695Skan	an external alias with the old name.
1637169695Skan	(GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start,
1638169695Skan	GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a
1639169695Skan	switch and call one of the above static functions.
1640169695Skan	* libgomp.h: Update.
1641169695Skan
1642169695Skan	* work.c (gomp_work_share_start): Lock the mutex for !first too.
1643169695Skan	* loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start,
1644169695Skan	GOMP_loop_guided_start, GOMP_loop_runtime_start,
1645169695Skan	GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
1646169695Skan	GOMP_loop_ordered_guided_start): Update to match.
1647169695Skan	* sections.c (GOMP_sections_start): Likewise.
1648169695Skan	* single.c (GOMP_single_start, GOMP_single_copy_start): Likewise.
1649169695Skan
1650169695Skan	* ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
1651169695Skan	gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//.
1652169695Skan	Use bounds check instead of modulus.
1653169695Skan	(gomp_ordered_sync): Split out of GOMP_ordered_start.
1654169695Skan	(gomp_ordered_last): Don't sync with ordered_owner here.
1655169695Skan	(gomp_ordered_next): Likewise.
1656169695Skan	(gomp_ordered_static_loop_next): Likewise.
1657169695Skan	* loop.c, libgomp.h: Update to match.
1658169695Skan
1659169695Skan	* libgomp.h (GOMP_barrier): Declare.
1660169695Skan
1661169695Skan	* testsuite/barrier-1.c: New file.
1662169695Skan	* testsuite/critical-1.c: New file.
1663169695Skan	* testsuite/ordered-2.c: New file.
1664169695Skan	* testsuite/ordered-1.c: New file.
1665169695Skan	* testsuite/sections-1.c: New file.
1666169695Skan	* testsuite/single-1.c: New file.
1667169695Skan	* testsuite/Makefile (TESTS): Add them.
1668169695Skan
1669169695Skan2005-05-04  Richard Henderson  <rth@redhat.com>
1670169695Skan
1671169695Skan	* libgomp.h (struct gomp_work_share): Add ordered_owner.
1672169695Skan	* loop.c (GOMP_loop_static_start): If not the startup thread,
1673169695Skan	acquire the mutex to wait for initialization complete.
1674169695Skan	(GOMP_loop_ordered_static_start): Likewise.
1675169695Skan	(GOMP_loop_ordered_runtime_start): Likewise.
1676169695Skan	(GOMP_loop_ordered_static_first): Remove.
1677169695Skan	(GOMP_loop_ordered_dynamic_first): Remove.
1678169695Skan	(GOMP_loop_ordered_guided_first): Remove.
1679169695Skan	(GOMP_loop_ordered_runtime_first): Remove.
1680169695Skan	* ordered.c (gomp_ordered_loop_first): Post to own release when
1681169695Skan	we're the first thread.
1682169695Skan	(gomp_ordered_loop_last): Wait on release if not owner.
1683169695Skan	(gomp_ordered_loop_next): Likewise.
1684169695Skan	(gomp_ordered_static_loop_init): New.
1685169695Skan	(gomp_ordered_static_loop_next): Use ordered_owner.
1686169695Skan	(GOMP_ordered_start): Likewise.
1687169695Skan	* work.c (gomp_new_work_share): Initialize ordered_owner.
1688169695Skan
1689169695Skan2005-05-03  Richard Henderson  <rth@redhat.com>
1690169695Skan
1691169695Skan	* Makefile (OPT): New.
1692169695Skan	(CFLAGS): Use it.
1693169695Skan
1694169695Skan	* loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New.
1695169695Skan	* sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New.
1696169695Skan	* libgomp.h, libgomp.map, NOTES: Update to match.
1697169695Skan
1698169695Skan	* team.c (struct gomp_thread_start_data): Remove ts, fn, data.
1699169695Skan	Add initialized and thr members.
1700169695Skan	(gomp_thread_start): Pause when initially spawned to wait for
1701169695Skan	the whole team to be created.
1702169695Skan	(gomp_team_start): Release team members at the end.
1703169695Skan
1704169695Skan	* testsuite/loop-1.c (N): New.  Use it instead of hardcoded 100.
1705169695Skan	(f_foo_1): Use GOMP_loop_end.
1706169695Skan	(f_foo_2): Use GOMP_loop_end_nowait.
1707169695Skan
1708169695Skan	* testsuite/loop-2.c: New file.
1709169695Skan	* testsuite/Makefile (TESTS): Add it.
1710169695Skan
1711169695Skan2005-05-03  Richard Henderson  <rth@redhat.com>
1712169695Skan
1713169695Skan	* iter.c (gomp_iter_static_next): Fix overflow check typo.
1714169695Skan	(gomp_iter_dynamic_next_locked): Fix overflow check thinko.
1715169695Skan	* team.c (new_team): Initialize oldest_live_gen to 1 if no
1716169695Skan	initial work_share.
1717169695Skan
1718169695Skan	* testsuite/Makefile: New file.
1719169695Skan	* testsuite/loop-1.c: New file.
1720169695Skan
1721169695Skan2005-05-03  Richard Henderson  <rth@redhat.com>
1722169695Skan
1723169695Skan	Initial implementation and checkin.
1724