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