1 2008-03-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
4 * libgomp/testsuite/libgomp.fortran/fortran.exp: Add .f08 and
7 2008-03-03 Peter O'Gorman <pogma@thewrittenword.com>
10 * configure.ac: Add ACX_HEADER_STRING.
11 * env.c: Include strings.h.
12 * aclocal.m4: Regenerate.
13 * config.h.in: Regenerate.
14 * configure: Regenerate.
15 * Makefile.in: Regenerate.
16 * testsuite/Makefile.in: Regenerate.
18 2008-02-15 Jakub Jelinek <jakub@redhat.com>
21 * testsuite/libgomp.c/pr35196.c: New test.
24 * testsuite/libgomp.fortran/pr35130.f90: New test.
25 * testsuite/libgomp.c/pr35130.c: New test.
27 2008-01-25 Jakub Jelinek <jakub@redhat.com>
30 * testsuite/libgomp.c/pr33880.c: New test.
31 * testsuite/libgomp.fortran/pr33880.f90: New test.
33 2008-01-24 David Edelsohn <edelsohn@gnu.org>
35 * configure: Regenerate.
37 2008-01-08 Jakub Jelinek <jakub@redhat.com>
39 * configure.ac: Move futex checking into ../config/futex.m4.
41 * aclocal.m4: Rebuilt.
42 * Makefile.in: Rebuilt.
44 * configure.tgt: Rename have_tls to gcc_cv_have_tls to match
45 2007-10-15 ../config/tls.m4 change.
47 2007-12-19 Jakub Jelinek <jakub@redhat.com>
50 * testsuite/libgomp.c/pr34513.c: New test.
51 * testsuite/libgomp.c++/pr34513.C: New test.
53 2007-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
56 * testsuite/libgomp.fortran/crayptr2.f90: Move dg-options for darwin.
58 2007-12-04 Jakub Jelinek <jakub@redhat.com>
60 * omp.h.in (__GOMP_NOTHROW): Define. Use it on omp_* prototypes.
62 2007-12-03 Jakub Jelinek <jakub@redhat.com>
64 * testsuite/libgomp.c/private-1.c: New test.
66 2007-11-29 Andris Pavenis <andris.pavenis@iki.fi>
67 Paolo Bonzini <bonzini@gnu.org>
69 * Makefile.am: Use space as vpath separator. Use 'vpath %'
71 * Makefile.in: Regenerate.
73 2007-11-23 Matthias Klose <doko@ubuntu.com>
75 * configure.ac: Adjust makeinfo version check.
76 * configure: Regenerate.
78 2007-11-10 Jakub Jelinek <jakub@redhat.com>
81 * testsuite/libgomp.fortran/pr34020.f90: New test.
83 2007-11-06 Jakub Jelinek <jakub@redhat.com>
86 * testsuite/libgomp.c++/atomic-1.C: New test.
88 2007-10-25 Jakub Jelinek <jakub@redhat.com>
91 * testsuite/libgomp.fortran/omp_parse3.f90 (test_threadprivate):
92 Make x and y integers rather than (implicit) reals. Add private (j)
93 clause to the last omp parallel.
95 2007-10-15 Maciej W. Rozycki <macro@linux-mips.org>
97 * configure: Regenerate following changes to ../config/tls.m4.
99 2007-09-28 Jakub Jelinek <jakub@redhat.com>
101 * testsuite/libgomp.fortran/stack.f90: New test.
103 2007-09-10 Danny Smith <dannysmith@users.sourceforge.net>
105 * config/mingw32/proc.c: New file.
107 2007-09-05 Uros Bizjak <ubizjak@gmail.com>
109 * testsuite/libgomp.c/atomic-1.c: Include cpuid.h for i386 targets.
110 (main): Use __get_cpuid to get i386 target fetaures.
111 * testsuite/libgomp.c/atomic-2.c: Include cpuid.h for x86_64 targets.
112 (main): Use __get_cpuid to get x86_64 target fetaures.
114 2007-08-15 Jack Howarth <howarth@bromo.med.uc.edu>
117 * testsuite/libgomp.fortran/pr32550.f90: Use -static-libgcc on Darwin.
118 * testsuite/libgomp.fortran/crayptr2.f90: Likwise.
120 2007-07-12 Jakub Jelinek <jakub@redhat.com>
123 * testsuite/libgomp.fortran/pr32550.f90: New test.
124 * testsuite/libgomp.fortran/crayptr2.f90: New test.
126 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
128 * aclocal.m4: Regenerated.
130 2007-07-05 Tobias Burnus <burnus@net-b.de>
133 * testsuite/libgomp.fortran/pr32359.f90: New.
135 2007-07-02 Jakub Jelinek <jakub@redhat.com>
138 * sections.c (GOMP_parallel_sections_start): Only decrease
139 number of threads to COUNT if dyn_var is true.
140 * testsuite/libgomp.c/pr32468.c: New test.
142 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
145 * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
147 2007-06-21 Jakub Jelinek <jakub@redhat.com>
150 * testsuite/libgomp.c/pr32362-1.c: New test.
151 * testsuite/libgomp.c/pr32362-2.c: New test.
152 * testsuite/libgomp.c/pr32362-3.c: New test.
154 2007-06-07 Jakub Jelinek <jakub@redhat.com>
156 * team.c (gomp_team_start): Fix setting up thread_attr
159 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
161 * configure: Regenerate.
163 2007-05-23 Steve Ellcey <sje@cup.hp.com>
165 * Makefile.in: Regenerate.
166 * configure: Regenerate.
167 * aclocal.m4: Regenerate.
168 * testsuite/Makefile.in: Regenerate.
170 2007-05-04 Jakub Jelinek <jakub@redhat.com>
172 * config/linux/proc.c: New file.
175 * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.
177 2007-04-19 Daniel Franke <franke.daniel@gmail.com>
179 * libgomp.texi (GOMP_CPU_AFFINITY): Updated.
181 2007-04-16 Matthias Klose <doko@debian.org>
183 * configure.tgt (i[456]86-*-linux*): Only add ia32 specific
184 flags if not building with -m64.
185 * testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march
186 flag for i?86-*-* targets, if current target matches -m64.
188 2007-04-14 Steve Ellcey <sje@cup.hp.com>
190 * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
191 * Makefile.in: Regenerate.
193 2007-04-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
196 * testsuite/libgomp.c++/c++.exp: Don't use concat when setting
198 * testsuite/libgomp.fortran/fortran.exp: Likewise.
200 2007-04-04 Jakub Jelinek <jakub@redhat.com>
202 * libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New extern
204 (gomp_init_affinity, gomp_init_thread_affinity): New prototypes.
205 * env.c (gomp_cpu_affinity, gomp_cpu_affinity_len): New variables.
206 (parse_affinity): New function.
207 (initialize_env): Call it and gomp_init_affinity.
208 * team.c (gomp_team_start): If gomp_cpu_affinity != NULL,
209 create new pthread_attr_t and call gomp_init_thread_affinity
210 on it for each thread before passing the attribute to pthread_create.
211 * config/linux/affinity.c: New file.
212 * config/posix/affinity.c: New file.
213 * configure.ac (HAVE_PTHREAD_AFFINITY_NP): New test.
214 * configure: Rebuilt.
215 * config.h.in: Rebuilt.
216 * Makefile.am (libgomp_la_SOURCES): Add affinity.c.
217 * Makefile.in: Rebuilt.
219 2007-03-23 Andreas Tobler <a.tobler@schweiz.org>
221 * testsuite/lib/libgomp.exp (libgomp_init): Add -shared-libgcc for
223 * testsuite/libgomp.c++/c++.exp: Look for shared libstdc++ library
226 2007-03-18 Uros Bizjak <ubizjak@gmail.com>
228 * testsuite/config/default.exp: New file.
229 * testsuite/lib/libgomp.exp: New file.
230 * testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init,
231 libgomp_target_compile, libgomp_option_help, libgomp_option_proc,
232 load_lib *, load_gcc_lib *): Move to libgomp.exp.
233 (libgomp_load): Remove.
234 * testsuite/lib/libgomp.exp (libgomp_init): Compute
235 always_ld_library_path, not ld_library_path. Set additional_flags
236 to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets.
237 (target_compile): Do not call libgomp_init. Append lang_library_path
238 and lang_link_flags to options.
239 * testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2. Set
240 ld_library_path from always_ld_library_path. Set LD_LIBRARY_PATH
242 * testsuite/libgomp.c++/c++.exp: Set ld_library_path from
243 always_ld_library_path. Set LD_LIBRARY_PATH here.
244 * testsuite/libgomp.fortran/fortran.exp: Ditto.
245 * testsuite/libgomp.c/atomic-1.c: Set dg-options to
246 "-O2 -march=pentium" for ilp32 x86 targets. Simplify check for
248 * testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for
249 lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3.
250 * testsuite/libgomp.c/pr29947-1.c: Remove default dg-options.
251 * testsuite/libgomp.c/pr29947-1.c: Ditto.
252 * testsuite/libgomp.c/atomic-10.c: Ditto.
254 2007-03-21 Jakub Jelinek <jakub@redhat.com>
256 * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add
257 dg-final cleanup-modules line.
258 * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise.
259 * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise.
260 * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise.
261 * testsuite/libgomp.fortran/threadprivate2.f90: Likewise.
262 * testsuite/libgomp.fortran/reduction5.f90: Likewise.
263 * testsuite/libgomp.fortran/threadprivate3.f90: Likewise.
264 * testsuite/libgomp.fortran/threadprivate1.f90: Likewise.
266 2007-03-18 Andreas Schwab <schwab@suse.de>
268 * acinclude.m4: Adjust regular expression for ld version
270 * configure: Regenerate.
272 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
274 * Makefile.am: Add install-pdf target as copied from
275 automake v1.10 rules.
276 * Makefile.in: Regenerate
278 2007-02-07 Jakub Jelinek <jakub@redhat.com>
281 * configure: Regenerate.
284 * testsuite/libgomp.c++/pr30703.C: New test.
286 2007-02-02 Jakub Jelinek <jakub@redhat.com>
289 2006-07-05 Eric Christopher <echristo@apple.com>
290 * configure.ac: Depend addition of -pthread on host OS.
291 * configure: Regenerate.
293 2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
295 * libgomp.texi: Fix spacing after abbreviations.
297 2007-01-31 Daniel Franke <franke.daniel@gmail.com>
300 * configure.ac: Add check for makeinfo
301 * Makefile.am: Redefined target libgomp.info, build libgomp.info only
302 if an appropiate version of makeinfo is found.
303 * aclocal.m4: Regenerated.
304 * configure: Regenerated.
305 * Makefile.in: Regenerated.
306 * testsuite/Makefile.in: Regenerated.
308 2007-01-29 Daniel Franke <franke.daniel@gmail.com>
311 * libgomp.texi: More about implementation-dependent settings.
313 2007-01-26 Tobias Burnus <burnus@net-b.de>
315 * testsuite/libgomp.fortran/fortran.exp: Support .f03 extension.
317 2007-01-24 Jakub Jelinek <jakub@redhat.com>
320 * testsuite/libgomp.c/pr30494.c: New test.
322 2007-01-15 Tom Tromey <tromey@redhat.com>
324 * configure: Rebuilt.
325 * configure.ac: Fixed comment.
327 2007-01-14 Daniel Franke <franke.daniel@gmail.com>
329 * libgomp.texi: Document implementation specific default values of
330 environment variables.
332 2006-12-21 Daniel Franke <franke.daniel@gmail.com>
335 * libgomp.texi: New file.
336 * configure.ac: Add --enable-generated-files-in-srcdir option.
337 * Makefile.am: Add info, dvi, pdf, html targets. On request, copy
339 * Makefile.in: Regenerated.
340 * config.h.in: Regenerated.
341 * testsuite/Makefile.in: Regenerated.
344 2006-12-04 Daniel Franke <franke.daniel@gmail.com>
347 * env.c (omp_set_num_threads): Set illegal thread count to 1.
349 2006-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
351 * configure: Regenerate.
353 2006-12-04 Jakub Jelinek <jakub@redhat.com>
356 * loop.c (gomp_loop_init): Make parameters signed. Set ws->end to
357 start if there shouldn't be any loop iterations.
358 (gomp_loop_ordered_static_start): Remove start == end test.
359 * testsuite/libgomp.c/pr29947-1.c: New test.
360 * testsuite/libgomp.c/pr29947-2.c: New test.
362 2006-12-02 Eric Botcazou <ebotcazou@libertysurf.fr>
364 * configure.tgt: Force initial-exec TLS model on Linux only.
366 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
368 * configure: Regenerated.
370 2006-11-09 Uros Bizjak <ubizjak@gmail.com>
372 * env.c (parse_schedule): Reject out of range values.
373 (parse_unsigned_long): Reject out of range, negative or zero values.
375 2006-10-29 Jakub Jelinek <jakub@redhat.com>
378 * testsuite/libgomp.fortran/pr29629.f90: New test.
380 2006-10-24 Eric Botcazou <ebotcazou@libertysurf.fr>
383 * configure.tgt: Use posix95 configuration for Solaris 2.5.1 and 2.6.
384 * config/posix95: New directory.
385 * config/posix95/omp-lock.h: New file.
386 * config/posix95/lock.c: Likewise.
388 2006-10-14 Geoffrey Keating <geoffk@apple.com>
390 * aclocal.m4: Regenerate.
391 * configure: Regenerate.
393 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net>
395 * testsuite/libgomp.c/barrier-1.c: Change timestamp tests from
398 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net>
400 * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from
402 * configure: Regenerate.
403 * fortran.c (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias.
405 2006-09-26 Jakub Jelinek <jakub@redhat.com>
409 * testsuite/libgomp.c/nestedfn-4.c: New test.
410 * testsuite/libgomp.c/nestedfn-5.c: New test.
411 * testsuite/libgomp.fortran/nestedfn3.f90: New test.
414 * testsuite/libgomp.fortran/condinc1.f: New test.
415 * testsuite/libgomp.fortran/condinc2.f: New test.
416 * testsuite/libgomp.fortran/condinc3.f90: New test.
417 * testsuite/libgomp.fortran/condinc4.f90: New test.
418 * testsuite/libgomp.fortran/condinc1.inc: New file.
420 2006-09-18 Tom Tromey <tromey@redhat.com>
422 * configure: Rebuilt.
424 2006-09-13 Joseph S. Myers <joseph@codesourcery.com>
427 PR preprocessor/14634
428 * configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument
430 * configure: Regenerate.
432 2006-09-08 Steven G. Kargl <kargl@gcc.gnu.org>
434 * testsuite/libgomp.fortran/reduction3.f90: Change
435 -2147483648 to -huge(i)-1 to avoid overflow.
436 * testsuite/libgomp.fortran/reduction4.f90: Change
437 Z'ffffffff' to not(0) to avoid overflow.
439 2006-08-26 Joseph S. Myers <joseph@codesourcery.com>
442 * Makefile.am (libsubincludedir): New.
443 (nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
444 * Makefile.in: Regenerate.
446 2006-08-17 Jakub Jelinek <jakub@redhat.com>
449 * env.c: Include ctype.h.
450 (parse_schedule, parse_unsigned_long, parse_boolean): Allow
451 leading and/or trailing whitespace and compare strings case
454 2006-07-16 Jakub Jelinek <jakub@redhat.com>
457 * testsuite/libgomp.fortran/pr28390.f: New test.
459 2006-07-05 Eric Christopher <echristo@apple.com>
461 * configure.ac: Depend addition of -pthread on host OS.
462 * configure: Regenerate.
464 2006-06-21 Jakub Jelinek <jakub@redhat.com>
466 * critical.c (GOMP_critical_name_start): Fix *pptr initialization
467 when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is
470 2006-06-20 Jakub Jelinek <jakub@redhat.com>
474 * configure.ac: If neither --enable-linux-futex nor
475 --disable-linux-futex is passed, determine the default by checking
476 for compiling and/or running against NPTL. With --enable-linux-futex,
477 check if SYS_gettid and SYS_futex are defined.
478 * configure: Rebuilt.
480 2006-06-14 Richard Henderson <rth@redhat.com>
483 * env.c (initialize_env): Avoid using PTHREAD_STACK_MIN when
484 undefined. Use GOMP_STACKSIZE not OMP_STACKSIZE for environment.
486 2006-06-09 Richard Henderson <rth@redhat.com>
488 * env.c (gomp_nthreads_var): Change to unsigned long.
489 (gomp_run_sched_chunk): Likewise.
490 (parse_unsigned_long): Rename from parse_num_threads and generalize.
491 (initialize_env): Initialize gomp_thread_attr.
492 * libgomp.h (gomp_nthreads_var): Update decl.
493 (gomp_run_sched_chunk): Likewise.
494 (gomp_thread_attr): Declare.
495 * team.c (gomp_thread_attr): Export.
496 (initialize_team): Don't initialize it.
498 2006-06-09 Jakub Jelinek <jakub@redhat.com>
501 * testsuite/libgomp.fortran/pr27916-1.f90: New test.
502 * testsuite/libgomp.fortran/pr27916-2.f90: New test.
504 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
506 * config/mingw32/time.c: New file.
507 * configure.tgt: Use it.
509 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
511 * Makefile.am: Add install-html target. Add install-html to .PHONY
512 * Makefile.in: Regenerate.
514 2006-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
517 * testsuite/libgomp.c/sections-1.c: Require sync_int_long.
518 * testsuite/libgomp.c/critical-1.c: Likewise.
519 * testsuite/libgomp.c/loop-1.c: Likewise.
520 * testsuite/libgomp.c/loop-2.c: Likewise.
521 * testsuite/libgomp.c/single-1.c: Likewise.
522 * testsuite/libgomp.c/ordered-1.c: Likewise.
523 * testsuite/libgomp.c/ordered-2.c: Likewise.
525 2006-05-15 Jakub Jelinek <jakub@redhat.com>
528 * libgomp.fortran/pr27416-1.f90: New test.
530 2006-05-03 Jakub Jelinek <jakub@redhat.com>
533 * testsuite/libgomp.fortran/pr27395-1.f90: New test.
534 * testsuite/libgomp.fortran/pr27395-2.f90: New test.
536 2006-05-02 Jakub Jelinek <jakub@redhat.com>
539 * testsuite/libgomp.c/pr26943-1.c: New test.
540 * testsuite/libgomp.c/pr26943-2.c: New test.
541 * testsuite/libgomp.c/pr26943-3.c: New test.
542 * testsuite/libgomp.c/pr26943-4.c: New test.
543 * testsuite/libgomp.c++/pr27337.C: Remove barrier.
544 * testsuite/libgomp.c++/pr26943.C: New test.
546 2006-05-02 Jakub Jelinek <jakub@redhat.com>
549 * testsuite/libgomp.c++/pr27337.C: New test.
551 2006-04-26 Jakub Jelinek <jakub@redhat.com>
554 * testsuite/libgomp.c/pr26171.c: New test.
556 2006-04-25 Richard Henderson <rth@redhat.com>
559 * configure.ac: Use GCC_CHECK_TLS.
560 * acinclude.m4 (LIBGOMP_CHECK_TLS): Remove.
561 * Makefile.in, aclocal.m4, configure: Regenerate.
563 2006-04-10 Matthias Klose <doko@debian.org>
565 * testsuite/lib/libgomp.exp (libgomp_init): Recognize multilib
566 directory names containing underscores.
568 2006-03-21 Jakub Jelinek <jakub@redhat.com>
571 * testsuite/libgomp.c++/pr26691.C: New test.
573 2006-03-13 Jakub Jelinek <jakub@redhat.com>
575 * testsuite/libgomp.fortran/retval2.f90: New test.
577 2006-03-09 Diego Novillo <dnovillo@redhat.com>
579 * testsuite/libgomp.c++: New directory.
581 2006-02-25 Shantonu Sen <ssen@opendarwin.org>
583 * config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions.
584 * config/posix/sem.c: Implement the above.
586 2006-02-25 Andreas Tobler <a.tobler@schweiz.ch>
588 * configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and
589 define HAVE_BROKEN_POSIX_SEMAPHORES.
590 * configure: Rebuilt.
591 * config.h.in: Rebuilt.
593 2006-02-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
596 * configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment
597 for the other pthread check.
598 * configure: Regenerate.
599 * config.h.in: Regenerate.
601 2006-02-15 Jakub Jelinek <jakub@redhat.com>
605 * Makefile.am (fincludedir): New variable.
606 (nodist_include_HEADERS): Remove Fortran files.
607 (nodist_finclude_HEADERS): New variable.
608 * Makefile.in: Regenerated.
610 2006-02-13 Jakub Jelinek <jakub@redhat.com>
612 * testsuite/libgomp.fortran/vla7.f90: Add -w to options.
613 Remove tests for returning assumed character length arrays.
615 2006-02-12 Roger Sayle <roger@eyesopen.com>
616 John David Anglin <dave@hiauly1.hia.nrc.ca>
619 * configure.tgt: Link against -lrt for sem_init on HPUX v11 systems.
621 2006-02-08 Ulrich Weigand <uweigand@de.ibm.com>
623 * testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library.
625 2006-02-07 Eric Botcazou <ebotcazou@libertysurf.fr>
627 * testsuite/lib/libgomp-dg.exp (libgomp_init): Compute multilib related
628 part of LD_LIBRARY_PATH manually.
630 2006-02-03 H.J. Lu <hongjiu.lu@intel.com>
633 * testsuite/lib/libgomp-dg.exp (blddir): Set it in
636 2005-01-25 Paolo Bonzini <bonzini@gnu.org>
639 * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove.
640 * configure.ac (PERL): Don't set.
641 (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here.
642 (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE,
643 OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions.
644 * omp.h.in: Wrap the new configure substitutions with @ characters.
645 * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise.
646 * aclocal.m4, configure, Makefile.in: Regenerate.
647 * mkomp_h.pl: Delete.
649 2005-01-24 Paolo Bonzini <bonzini@gnu.org>
652 * configure.ac: Use GCC_HEADER_STDINT.
653 * libgomp.h: Include gstdint.h.
654 * libgomp_f.h.in: Don't include stdint.h or inttypes.h.
655 * configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild.
657 2006-01-24 Richard Henderson <rth@redhat.com>
660 * configure.ac: Add AM_MAINTAINER_MODE.
661 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild.
663 2006-01-24 Diego Novillo <dnovillo@redhat.com>
665 * Makefile.in: Regenerate.
666 * testsuite/Makefile.in: Regenerate.
667 * aclocal.m4: Regenerate.
669 2006-01-23 Andreas Tobler <a.tobler@schweiz.ch>
671 * config/posix/proc.c: Conditional include of sys/loadavg.h for
673 * configure.ac: Add check for loadavg.h.
674 (link_gomp): Adjust comment.
675 * configure: Regenerate.
676 * config.h.in: Regenerate.
678 2006-01-21 Steve Ellcey <sje@cup.hp.com>
681 * configure.ac: Remove check for alloca.h.
682 * configure: Regenerate.
683 * config.h.in: Regenerate.
684 * libgomp.h: define gomp_alloca to be __builtin_alloca.
685 * team.c: Remove use of alloca.h.
686 Call gomp_alloca instead of alloca.
688 2006-01-20 Steve Ellcey <sje@cup.hp.com>
691 * team.c: Add include of alloca.h.
692 * configure.ac: Add check for alloca.h.
693 * configure: Regenerate.
694 * config.h.in: Regenerate.
696 2006-01-17 Jakub Jelinek <jakub@redhat.com>
699 * testsuite/libgomp.fortran/pr25219.f90: New test.
701 2005-12-05 Uros Bizjak <uros@kss-loka.si>
703 * testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c,
704 testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c,
705 testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
706 testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
707 testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C,
708 testsuite/libgomp.fortran/threadprivate1.f90,
709 testsuite/libgomp.fortran/threadprivate2.f90,
710 testsuite/libgomp.fortran/threadprivate3.f90,
711 testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
712 testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
713 testsuite/libgomp.fortran/omp_parse3.f90: Change required
714 effective-target to TLS runtime.
716 * testsuite/libgomp.fortran/pr25162.f: Require
717 effective-target TLS runtime.
719 2005-12-01 Jakub Jelinek <jakub@redhat.com>
721 * testsuite/libgomp.fortran/nestedfn2.f90: New test.
722 * testsuite/libgomp.c/nestedfn-3.c: New test.
724 2005-11-30 Jakub Jelinek <jakub@redhat.com>
727 * testsuite/libgomp.fortran/pr25162.f: New test.
729 2005-11-28 Jakub Jelinek <jakub@redhat.com>
731 * config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to
732 CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed.
734 2005-11-25 Jakub Jelinek <jakub@redhat.com>
736 * alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c,
737 libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in,
738 omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c,
739 single.c, team.c, work.c, config/linux/alpha/futex.h,
740 config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h,
741 config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h,
742 config/linux/powerpc/futex.h, config/linux/s390/futex.h,
743 config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h,
744 config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h,
745 config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c,
746 config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update
749 2005-11-18 Jakub Jelinek <jakub@redhat.com>
751 * Makefile.am: Move libgomp_f.h from nodist_include_HEADERS
752 to nodist_noinst_HEADERS.
753 * Makefile.in: Rebuilt.
755 * config/posix/omp-lock.h (omp_nest_lock_t): Change into struct,
756 add integer count field.
757 * config/posix/lock.c (omp_destroy_nest_lock): Adjust for
758 omp_nest_lock_t type change.
759 (omp_init_nest_lock): Likewise. Initialize count to 0.
760 (omp_set_nest_lock): Adjust for omp_nest_lock_t type change.
762 (omp_unset_nest_lock): Adjust for omp_nest_lock_t type change.
764 (omp_test_nest_lock): Adjust for omp_nest_lock_t type change.
765 Increment count if successful and return the new nesting level.
766 * config/linux/lock.c (omp_test_nest_lock): Return new nesting level.
767 * omp_lib.f90.in (omp_test_lock): Fix LOCK argument type.
768 * testsuite/libgomp.c/lib-1.c: New test.
769 * testsuite/libgomp.fortran/lib1.f90: New test.
770 * testsuite/libgomp.fortran/lib2.f: New test.
771 * testsuite/libgomp.fortran/lib3.f: New test.
773 2005-11-17 Richard Henderson <rth@redhat.com>
776 * Makefile.am (nodist_toolexeclib_HEADERS): New.
777 * configure.ac (link_gomp): New. Substitute it.
778 (AC_CONFIG_FILES): Add libgomp.spec.
779 * libgomp.spec.in: New file.
780 * Makefile.in, testsuite/Makefile.in, configure: Rebuild.
781 * testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags.
783 2005-11-18 Jakub Jelinek <jakub@redhat.com>
785 * testsuite/libgomp.fortran/reduction1.f90: Adjust for
786 reduction(-:var) behaving the same as reduction(+:var).
787 * testsuite/libgomp.c/reduction-4.c: New test.
789 2005-11-15 Uros Bizjak <uros@kss-loka.si>
791 * testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c,
792 testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c,
793 testsuite/libgomp.c/copyin-3.c,
794 testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
795 testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
796 testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C,
797 testsuite/libgomp.c++/pr24455.C,
798 testsuite/libgomp.fortran/threadprivate1.f90,
799 testsuite/libgomp.fortran/threadprivate2.f90,
800 testsuite/libgomp.fortran/threadprivate3.f90,
801 testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
802 testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
803 testsuite/libgomp.fortran/omp_parse3.f90: Require
804 effective-target TLS.
806 2005-11-14 Diego Novillo <dnovillo@redhat.com>
810 2005-11-13 Jakub Jelinek <jakub@redhat.com>
813 * team.c (initialize_team): Pass NULL rather than free as
814 pthread_key_create destructor. Initialize thread specific data
815 pointer in initial thread to a static local variable rather than
818 2005-11-11 Uros Bizjak <uros@kss-loka.si>
820 * testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append
821 its location to ld_library_path.
823 2005-11-10 Diego Novillo <dnovillo@redhat.com>
825 * testsuite/libgomp.c/c.exp: Rename from dg.exp.
827 2005-11-10 Diego Novillo <dnovillo@redhat.com>
829 * testsuite/libgomp.c: Rename from libgomp.dg.
831 2005-11-09 Diego Novillo <dnovillo@redhat.com>
833 * testsuite/libgomp.c++/pr24455.C: Add copyin clause for
834 threadprivate variable 'i'.
836 2005-11-09 Jakub Jelinek <jakub@redhat.com>
838 * config/linux/s390/futex.h: New file.
839 * configure.tgt: Use it.
841 * testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization
844 2005-11-08 Jakub Jelinek <jakub@redhat.com>
847 * testsuite/libgomp.c++/master-1.C: New test.
849 2005-11-07 Jakub Jelinek <jakub@redhat.com>
851 * testsuite/libgomp.dg/copyin-3.c: New test.
853 2005-11-07 Jakub Jelinek <jakub@redhat.com>
855 * testsuite/libgomp.fortran/retval1.f90: New test.
856 * testsuite/libgomp.fortran/vla7.f90: New test.
858 2005-11-06 Jakub Jelinek <jakub@redhat.com>
860 * testsuite/libgomp.fortran/vla2.f90: New test.
861 * testsuite/libgomp.fortran/vla3.f90: New test.
862 * testsuite/libgomp.fortran/vla4.f90: New test.
863 * testsuite/libgomp.fortran/vla5.f90: New test.
864 * testsuite/libgomp.fortran/vla6.f90: New test.
866 2005-11-01 Jakub Jelinek <jakub@redhat.com>
868 * config/linux/sparc/futex.h: New file.
869 * configure.tgt: Use it.
870 * testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing.
872 * critical.c: Include stdlib.h.
873 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about
874 ignoring return value.
875 * configure.ac: Don't put -Wc,-pthread into XCFLAGS until after
876 LIBGOMP_CHECK_SYNC_BUILTINS check.
877 * configure: Rebuilt.
879 2005-10-31 Jakub Jelinek <jakub@redhat.com>
881 * testsuite/libgomp.fortran/vla1.f90: New test.
883 2005-10-31 Richard Henderson <rth@redhat.com>
885 * testsuite/libgomp.fortran/character2.f90: Fix race condition
886 setting 's' in different threads.
888 2005-10-31 Jakub Jelinek <jakub@redhat.com>
890 * libgomp.h (attribute_hidden, ialias): Define.
891 * config/posix/proc.c (omp_get_num_procs): Add ialias.
892 * config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise.
893 * config/posix/lock.c (omp_init_lock, omp_init_nest_lock,
894 omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
895 omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
896 omp_test_lock, omp_test_nest_lock): Likewise.
897 * config/linux/lock.c (omp_init_lock, omp_init_nest_lock,
898 omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
899 omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
900 omp_test_lock, omp_test_nest_lock): Likewise.
901 * env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads,
902 omp_get_dynamic, omp_get_nested): Likewise.
903 * parallel.c (omp_get_num_threads, omp_get_max_threads,
904 omp_get_thread_num, omp_in_parallel): Likewise.
905 * fortran.c (ialias_redirect): Define.
906 (omp_init_lock, omp_init_nest_lock, omp_destroy_lock,
907 omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock,
908 omp_unset_lock, omp_unset_nest_lock, omp_test_lock,
909 omp_test_nest_lock, omp_set_dynamic, omp_set_nested,
910 omp_set_num_threads, omp_get_dynamic, omp_get_nested,
911 omp_in_parallel, omp_get_max_threads, omp_get_num_procs,
912 omp_get_num_threads, omp_get_thread_num, omp_get_wtick,
913 omp_get_wtime): Add ialias_redirect.
915 2005-10-30 Jakub Jelinek <jakub@redhat.com>
917 * fortran.c: Include stdlib.h.
919 2005-10-29 Jakub Jelinek <jakub@redhat.com>
921 * Makefile.am (env.o, env.lo): Depend on libgomp_f.h.
922 * Makefile.in: Regenerated.
924 2005-10-28 Jakub Jelinek <jakub@redhat.com>
926 * mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE.
927 * libgomp_f.h.in (omp_check_defines): New function.
928 * env.c: Include libgomp_f.h.
929 (initialize_env): Call omp_check_defines.
931 * testsuite/libgomp.dg/copyin-2.c: New test.
932 * testsuite/libgomp.c++/copyin-2.C: New test.
933 * testsuite/libgomp.fortran/threadprivate3.f90: New test.
935 * testsuite/libgomp.fortran/threadprivate2.f90: New test.
936 * testsuite/libgomp.fortran/sharing2.f90: New test.
938 * testsuite/libgomp.dg/copyin-1.c: New test.
939 * testsuite/libgomp.c++/copyin-1.C: New test.
941 2005-10-26 Jakub Jelinek <jakub@redhat.com>
943 * testsuite/libgomp.fortran/crayptr1.f90: New test.
945 * testsuite/libgomp.fortran/workshare1.f90: New test.
947 * libgomp.fortran/appendix-a/a.28.5.f90: Change into compile
949 * libgomp.fortran/sharing1.f90: New test.
951 2005-10-24 Jakub Jelinek <jakub@redhat.com>
954 * testsuite/libgomp.c++/loop-7.C: New test.
956 * testsuite/libgomp.dg/nestedfn-2.c: New test.
958 * testsuite/libgomp.dg/nestedfn-1.c: New test.
959 * testsuite/libgomp.fortran/reduction6.f90: New test.
960 * testsuite/libgomp.fortran/nestedfn1.f90: New test.
962 2005-10-23 Richard Henderson <rth@redhat.com>
964 * testsuite/libgomp.c++/ctor-1.C: New.
965 * testsuite/libgomp.c++/ctor-2.C: New.
966 * testsuite/libgomp.c++/ctor-3.C: New.
967 * testsuite/libgomp.c++/ctor-4.C: New.
968 * testsuite/libgomp.c++/ctor-5.C: New.
969 * testsuite/libgomp.c++/ctor-6.C: New.
970 * testsuite/libgomp.c++/ctor-7.C: New.
971 * testsuite/libgomp.c++/ctor-8.C: New.
972 * testsuite/libgomp.c++/ctor-9.C: New.
974 2005-10-21 Diego Novillo <dnovillo@redhat.com>
977 * testsuite/libgomp.c++/pr24455-1.C: New test.
978 * testsuite/libgomp.c++/pr24455.C: New test.
979 * testsuite/libgomp.dg/pr24455-1.c: New test.
980 * testsuite/libgomp.dg/pr24455.c: New test.
982 2005-10-20 Richard Henderson <rth@redhat.com>
984 * testsuite/libgomp.c++/loop-6.C: New.
985 * testsuite/libgomp.dg/loop-3.c: New.
987 2005-10-20 Jakub Jelinek <jakub@redhat.com>
989 * testsuite/libgomp.fortran/jacobi.f: Don't make i and j
991 * testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i
994 2005-10-19 Diego Novillo <dnovillo@redhat.com>
996 * testsuite/libgomp.fortran/jacobi.f: New test.
998 2005-10-19 Richard Henderson <rth@redhat.com>
1000 * configure.tgt (i?86-linux): Default to with_arch instead of
1001 CFLAGS. Add -mtune to match target_cpu.
1002 (x86_64-linux): Tune to i686.
1004 * fortran.c (omp_test_nest_lock_): Fix typo.
1006 2005-10-19 Jakub Jelinek <jakub@redhat.com>
1008 * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
1009 gomp_ordered_sync): Do nothing if team->nthreads == 1.
1010 * testsuite/libgomp.dg/ordered-3.c: New test.
1012 * testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort.
1013 Remove volatile keyword.
1015 * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables
1016 in COMMON block to avoid warnings on 64-bit targets.
1018 2005-10-18 Diego Novillo <dnovillo@redhat.com>
1020 * testsuite/libgomp.dg/shared-3.c: New test.
1022 2005-10-18 Jakub Jelinek <jakub@redhat.com>
1024 * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed.
1025 * testsuite/libgomp.fortran/reduction5.f90: New test.
1027 2005-10-18 Jakub Jelinek <jakub@redhat.com>
1029 * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to
1031 * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise. Enable
1032 flush loop now that __sync_synchronize has proper memory barrier.
1033 * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo.
1034 Add -ffixed-form to dg-options.
1036 2005-10-17 Diego Novillo <dnovillo@redhat.com>
1038 * testsuite/libgomp.fortran/fortran.exp: Also gather tests
1039 from subdirectories.
1040 * testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test.
1041 * testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test.
1042 * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test.
1043 * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test.
1044 * testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test.
1045 * testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test.
1046 * testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test.
1047 * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test.
1048 * testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test.
1049 * testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test.
1050 * testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test.
1051 * testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test.
1052 * testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test.
1053 * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test.
1054 * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test.
1055 * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test.
1056 * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test.
1057 * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test.
1058 * testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test.
1059 * testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test.
1060 * testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test.
1061 * testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test.
1062 * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test.
1063 * testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test.
1064 * testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test.
1066 2005-10-17 Jakub Jelinek <jakub@redhat.com>
1068 * testsuite/libgomp.dg/dg.exp: Only unset lang_* if
1069 lang_library_path exists. Use find instead of glob to gather tests.
1070 * testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed.
1072 2005-10-17 Diego Novillo <dnovillo@redhat.com>
1074 * testsuite/libgomp.dg/appendix-a/a.15.1.c: New test.
1075 * testsuite/libgomp.dg/appendix-a/a.16.1.c: New test.
1076 * testsuite/libgomp.dg/appendix-a/a.18.1.c: New test.
1077 * testsuite/libgomp.dg/appendix-a/a.19.1.c: New test.
1078 * testsuite/libgomp.dg/appendix-a/a.2.1.c: New test.
1079 * testsuite/libgomp.dg/appendix-a/a.21.1.c: New test.
1080 * testsuite/libgomp.dg/appendix-a/a.26.1.c: New test.
1081 * testsuite/libgomp.dg/appendix-a/a.29.1.c: New test.
1082 * testsuite/libgomp.dg/appendix-a/a.3.1.c: New test.
1083 * testsuite/libgomp.dg/appendix-a/a.39.1.c: New test.
1084 * testsuite/libgomp.dg/appendix-a/a.4.1.c: New test.
1085 * testsuite/libgomp.dg/appendix-a/a.5.1.c: New test.
1086 * testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file.
1088 2005-10-15 Jakub Jelinek <jakub@redhat.com>
1090 * testsuite/libgomp.dg/vla-1.c: New test.
1092 * testsuite/libgomp.fortran/reference2.f90: New test.
1094 * testsuite/libgomp.fortran/character2.f90: Remove explicit
1095 declaration of omp_get_thread_num.
1096 * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. Add
1099 * testsuite/libgomp.fortran/reduction1.f90: New test.
1100 * testsuite/libgomp.fortran/reduction2.f90: New test.
1101 * testsuite/libgomp.fortran/reduction3.f90: New test.
1102 * testsuite/libgomp.fortran/reduction4.f90: New test.
1104 2005-10-13 Richard Henderson <rth@redhat.com>
1106 * Makefile.am (libgomp_la_SOURCES): Add bar.c.
1107 * Makefile.in: Regenerate.
1108 * barrier.c (GOMP_barrier): Use gomp_barrier_wait.
1109 * libgomp.h: Include bar.h.
1110 (struct gomp_barrier): Remove.
1111 (struct gomp_team): Add barrier. Replace master_barrier with
1112 master_release. Replace threads with ordered_release.
1113 (struct gomp_thread): Replace barrier with release.
1114 * ordered.c (gomp_ordered_first): Update for ordered_release change.
1115 (gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init,
1116 gomp_ordered_static_next, gomp_ordered_sync): Likewise.
1117 * single.c (GOMP_single_copy_start): Use gomp_barrier_wait.
1118 (GOMP_single_copy_end): Likewise.
1119 * team.c (gomp_threads_dock): New.
1120 (gomp_barrier_init, gomp_barrier_destroy): Remove.
1121 (gomp_thread_start): Use gomp_barrier_wait.
1122 (new_team, free_team): Update for gomp_team changes.
1123 (gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit.
1124 (gomp_team_end): Use gomp_barrier_wait.
1125 (initialize_team): Update for gomp_thread changes.
1126 * work.c (gomp_work_share_end): Use gomp_barrier_wait_start.
1127 (gomp_work_share_end_nowait): Use atomic ops when available.
1128 * config/linux/bar.c, config/linux/bar.h: New files.
1129 * config/posix/bar.c, config/posix/bar.h: New files.
1131 2005-10-13 Jakub Jelinek <jakub@redhat.com>
1133 * single.c (GOMP_single_copy_end): Don't segfault if team is NULL.
1134 * testsuite/libgomp.dg/single-2.c: New test.
1136 * testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file,
1137 lang_link_flags): Unset, so that they aren't inherited from previously
1140 * testsuite/libgomp.fortran/threadprivate1.f90: New test.
1142 2005-10-12 Richard Henderson <rth@redhat.com>
1144 * testsuite/lib/libgomp-dg.exp: Set blddir at toplevel.
1145 (libgomp_init): Use lang_test_file, lang_library_path, and
1146 lang_link_flags, set by the subdirectory files. Add -fopenmp here.
1148 * testsuite/libgomp.fortran/fortran.exp (lang_library_path): New.
1149 (lang_test_file, lang_link_flags): New.
1150 (DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove.
1152 * testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C,
1153 testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C,
1154 testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C,
1155 testsuite/libgomp.c++/parallel-1.C,
1156 testsuite/libgomp.c++/reduction-1.C,
1157 testsuite/libgomp.c++/reduction-2.C,
1158 testsuite/libgomp.c++/reduction-3.C,
1159 testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C,
1160 testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C,
1161 testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C:
1162 New files, largely cribbed from the C testsuite.
1164 2005-10-12 Jakub Jelinek <jakub@redhat.com>
1166 * testsuite/libgomp.fortran/character1.f90: New test.
1167 * testsuite/libgomp.fortran/character2.f90: New test.
1169 * testsuite/libgomp.dg/nested-1.c: New test.
1170 * testsuite/libgomp.dg/nested-2.c: New test.
1171 * testsuite/libgomp.fortran/do1.f90: New test.
1172 * testsuite/libgomp.fortran/do2.f90: New test.
1174 * testsuite/libgomp.fortran/reference1.f90: New test.
1176 2005-10-11 Jakub Jelinek <jakub@redhat.com>
1178 * testsuite/libgomp.dg/reduction-1.c: New test.
1179 * testsuite/libgomp.dg/reduction-2.c: New test.
1180 * testsuite/libgomp.dg/reduction-3.c: New test.
1182 2005-10-10 Jakub Jelinek <jakub@redhat.com>
1184 * testsuite/libgomp.dg/atomic-1.c: New test.
1185 * testsuite/libgomp.dg/atomic-2.c: New test.
1187 2005-10-09 Richard Henderson <rth@redhat.com>
1189 * critical.c (atomic_lock): New.
1190 (initialize_critical): Initialize it.
1191 (GOMP_atomic_start, GOMP_atomic_end): New.
1192 * libgomp.map: Export them.
1193 * libgomp_g.h: Declare them.
1195 * testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite.
1197 2005-10-02 Richard Henderson <rth@redhat.com>
1199 * configure.ac: Move save_CFLAGS hack earlier. Append -Wall/-Werror
1200 to XCFLAGS instead of CFLAGS.
1202 2005-09-30 Richard Henderson <rth@redhat.com>
1204 * configure.ac: Determine whether -pthread or -lpthread is needed.
1205 * Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread.
1206 * Makefine.in, configure: Rebuild.
1208 2005-09-28 Richard Henderson <rth@redhat.com>
1210 * testsuite/libgomp.dg/omp-loop03.c: Fix return code.
1211 * testsuite/libgomp.dg/omp-single-3.c: New test.
1213 2005-09-28 Diego Novillo <dnovillo@redhat.com>
1215 * testsuite/libgomp.dg/omp-single-2.c: New test.
1216 * testsuite/libgomp.dg/shared-2.c: Fix return code.
1218 2005-09-27 Richard Henderson <rth@redhat.com>
1220 * testsuite/libgomp.dg/omp-loop03.c: Add initial barrier.
1221 * testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule.
1223 2005-09-27 Jakub Jelinek <jakub@redhat.com>
1225 * testsuite/libgomp.dg/omp-loop03.c: New test.
1227 2005-09-27 Diego Novillo <dnovillo@redhat.com>
1229 * testsuite/libgomp.dg/omp-parallel-for.c: New test.
1231 2005-09-27 Diego Novillo <dnovillo@redhat.com>
1233 * testsuite/libgomp.dg/omp-single-1.c: New test.
1234 * testsuite/libgomp.dg/shared-1.c: Return 0.
1235 Add prototype for abort.
1236 * testsuite/libgomp.dg/shared-2.c: Likewise.
1238 2005-09-26 Jakub Jelinek <jakub@redhat.com>
1240 * testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming
1243 2005-09-26 Diego Novillo <dnovillo@redhat.com>
1245 * testsuite/libgomp.dg/shared-1.c: New test.
1246 * testsuite/libgomp.dg/shared-2.c: New test.
1248 2005-09-24 Richard Henderson <rth@redhat.com>
1250 * testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error.
1252 2005-09-24 Richard Henderson <rth@redhat.com>
1254 * iter.c (gomp_iter_static_next): Round up when computing number
1255 of iterations. Don't bother distributing a remainder equally.
1257 * testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main.
1258 Don't call srand. Zero b before testing.
1261 2005-09-24 Jakub Jelinek <jakub@redhat.com>
1263 * testsuite/libgomp.fortran/omp_atomic1.f90: New test.
1264 * testsuite/libgomp.fortran/omp_atomic2.f90: New test.
1266 2005-09-23 Jakub Jelinek <jakub@redhat.com>
1268 * testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do
1269 without !$omp end do, followed immediately by subroutine end.
1271 2005-09-23 Diego Novillo <dnovillo@redhat.com>
1273 * testsuite/libgomp.dg/omp-parallel-if.c: New test.
1275 2005-09-22 Richard Henderson <rth@redhat.com>
1277 * critical.c (GOMP_critical_name_start): Change argument to void**.
1278 Reuse the pointer space if the mutex fits.
1279 (GOMP_critical_name_end): Likewise.
1280 (initialize_critical): Don't define if GOMP_MUTEX_INIT_0.
1281 * libgomp_g.h (GOMP_critical_name_start): Update decl.
1282 (GOMP_critical_name_end): Likewise.
1283 * config/linux/mutex.h (GOMP_MUTEX_INIT_0): New.
1284 * config/posix/mutex.h (GOMP_MUTEX_INIT_0): New.
1286 2005-09-20 Richard Henderson <rth@redhat.com>
1288 * critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New.
1289 (create_lock_lock): New.
1290 (initialize_critical): Initialize it.
1291 * libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New.
1292 * libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare.
1294 2005-09-20 Diego Novillo <dnovillo@redhat.com>
1296 * testsuite/libgom.dg/omp-loop01.c: Include stdio.h.
1298 2005-09-20 Diego Novillo <dnovillo@redhat.com>
1300 * testsuite/libgomp.dg/omp-loop01.c: New test.
1301 * testsuite/libgomp.dg/omp-loop02.c: New test.
1303 2005-09-20 Jakub Jelinek <jakub@redhat.com>
1305 * configure.ac (AC_PROG_FC): Add.
1306 (USE_FORTRAN): New automake conditional.
1307 * configure: Rebuilt.
1308 * Makefile.am (libgomp_la_SOURCES): Add fortran.c.
1309 (nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h.
1310 If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod.
1311 Add rules to build them.
1312 * Makefile.in: Rebuilt.
1313 * mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and
1315 * libgomp.map: Add Fortran wrappers.
1316 * libgomp_f.h.in: New file.
1317 * omp_lib.h.in: New file.
1318 * omp_lib.f90.in: New file.
1319 * fortran.c: New file.
1320 * testsuite/lib/libgomp-dg.exp: Load a few more .exp files.
1321 Append libgfortran directory to LD_LIBRARY_PATH if it exists.
1322 Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if
1323 libgfortran has been built.
1324 * testsuite/libgomp.fortran/fortran.exp: New file.
1325 * testsuite/libgomp.fortran/omp_cond1.f: New test.
1326 * testsuite/libgomp.fortran/omp_cond2.f: New test.
1327 * testsuite/libgomp.fortran/omp_cond3.F90: New test.
1328 * testsuite/libgomp.fortran/omp_cond4.F90: New test.
1329 * testsuite/libgomp.fortran/omp_hello.f: New test.
1330 * testsuite/libgomp.fortran/omp_orphan.f: New test.
1331 * testsuite/libgomp.fortran/omp_parse1.f90: New test.
1332 * testsuite/libgomp.fortran/omp_parse2.f90: New test.
1333 * testsuite/libgomp.fortran/omp_parse3.f90: New test.
1334 * testsuite/libgomp.fortran/omp_parse4.f90: New test.
1335 * testsuite/libgomp.fortran/omp_reduction.f: New test.
1336 * testsuite/libgomp.fortran/omp_workshare1.f: New test.
1337 * testsuite/libgomp.fortran/omp_workshare2.f: New test.
1339 2005-08-30 Richard Henderson <rth@redhat.com>
1341 * loop.c (GOMP_loop_static_start): Provide fallback wrapper
1342 function for when aliases are not usable.
1343 (GOMP_loop_dynamic_start, GOMP_loop_guided_start,
1344 GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
1345 GOMP_loop_ordered_guided_start, GOMP_loop_static_next,
1346 GOMP_loop_dynamic_next, GOMP_loop_guided_next,
1347 GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next,
1348 GOMP_loop_ordered_guided_next): Likewise.
1349 * ordered.c (GOMP_ordered_start): Likewise.
1351 2005-08-01 Diego Novillo <dnovillo@redhat.com>
1353 * testsuite/libgomp.dg/dg.exp: Use -O2 for now.
1354 * testsuite/libgomp.dg/omp_hello.c: Fix return code
1355 * testsuite/libgomp.dg/omp_matvec.c: Likewise.
1356 * testsuite/libgomp.dg/omp_orphan.c: Likewise
1357 * testsuite/libgomp.dg/omp_reduction.c: Likewise
1358 * testsuite/libgomp.dg/omp_workshare1.c: Likewise
1359 * testsuite/libgomp.dg/omp_workshare2.c: Likewise
1360 * testsuite/libgomp.dg/omp_workshare3.c: Likewise
1361 * testsuite/libgomp.dg/omp_workshare4.c: Likewise
1363 2005-07-07 Eric Christopher <echristo@redhat.com>
1364 Diego Novillo <dnovillo@redhat.com>
1366 * testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS.
1367 * testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix
1369 * testsuite/libgomp.dg/omp_matvec.c: Ditto.
1370 * testsuite/libgomp.dg/omp_orphan.c: Ditto.
1371 * testsuite/libgomp.dg/omp_reduction.c: Ditto.
1372 * testsuite/libgomp.dg/omp_workshare1.c: Ditto.
1373 * testsuite/libgomp.dg/omp_workshare2.c: Ditto.
1374 * testsuite/libgomp.dg/omp_workshare3.c: Ditto.
1375 * testsuite/libgomp.dg/omp_workshare4.c: Ditto.
1377 2005-06-13 Diego Novillo <dnovillo@redhat.com>
1379 * TOPLEVEL.patch: Remove.
1381 2005-05-16 Richard Henderson <rth@redhat.com>
1383 * configure.ac: Test for clock_gettime.
1384 * config.h.in, configure: Rebuild.
1385 * config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern.
1386 (omp_get_wtime): Use clock_gettime if available.
1387 (omp_get_wtick): Use clock_getres if available.
1389 2005-05-11 Richard Henderson <rth@redhat.com>
1391 * config/linux/ia64/futex.h: New file.
1392 * configure.tgt: Use it.
1394 * team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline.
1396 2005-05-07 Richard Henderson <rth@redhat.com>
1398 * config/linux/powerpc/futex.h: New file.
1399 * configure.tgt: Use it.
1401 * config/linux/i486/futex.h: Merge ...
1402 * config/linux/x86_64/futex.h: ... into ...
1403 * config/linux/x86/futex.h: ... here.
1404 * configure.tgt: Update to match.
1406 2005-05-06 Richard Henderson <rth@redhat.com>
1408 * config/linux/alpha/futex.h: Conditionally define SYS_futex.
1409 * config/linux/i486/futex.h: Likewise.
1410 * config/linux/x86_64/futex.h: Likewise.
1412 * config/linux/lock.c: New file.
1413 * config/linux/omp-lock.h: New file.
1415 * critical.c, env.h: Don't include omp.h
1416 * config/posix/lock.c: Include libgomp.h instead of omp.h.
1417 * config/posix/time.c: Likewise.
1418 * config/posix/omp-lock.h: New file.
1419 * libgomp.h: Include omp-lock.h and omp.h.
1420 * Makefile.am (nodist_include_HEADERS): New.
1422 * configure.ac (PERL): New.
1423 * mkomp_h.pl: New file.
1424 * omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t
1426 * Makefile.in, configure, testsuite/Makefile.in: Rebuild.
1428 * testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into
1429 build directory. Re-add -march=i486 hack.
1431 * testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove.
1432 (libgomp_link_flags): Remove.
1433 (libgomp_initialized): Remove.
1434 (libgomp_init): Don't protect from reinitialization. Copy code
1435 from libstdc++ for getting the multilib set correctly.
1437 2005-05-05 Richard Henderson <rth@redhat.com>
1439 * config/linux/alpha/futex.h: New file.
1440 * configure.tgt (alpha*-*-linux*): Use it.
1442 * config/posix/mutex.c: New file.
1443 * config/posix/sem.c: Use libgomp.h.
1445 * configure.tgt (x86_64-linux): Also test CC for -m32.
1446 * config/linux/x86_64/futex.h (futex_wait): Fix r10 usage.
1448 * testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add /
1451 * Makefile.am (SUBDIRS): New.
1452 (libgomp_la_LDFLAGS): Add -lpthread.
1453 * configure.ac (AM_INIT_AUTOMAKE): Enable dependencies.
1454 * Makefile.in, aclocal.m4, config.h.in, configure: Rebuild.
1456 * libgomp_g.h: New file.
1457 * libgomp.h: Split out all public declarations to libgomp_g.h.
1458 Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN.
1459 * config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN.
1460 * config/linux/sem.h: Likewise.
1461 * config/posix/sem.h: Likewise.
1463 * Makefile.am (AM_LDFLAGS): New.
1464 (libgomp_version_script): Split out from ...
1465 (libgomp_la_LDFLAGS): ... here.
1466 (libgomp_version_info): New.
1467 * acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE.
1468 (LIBGOMP_ENABLE): New.
1469 (LIBGOMP_CHECK_LINKER_FEATURES): New.
1470 (LIBGOMP_ENABLE_SYMVERS): New.
1471 * configure.ac (AC_INIT): Version 1.0.
1472 (enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE.
1473 (enable-linux-futex): Likewise. Rename from enable-futex.
1474 (libtool_VERSION): New.
1475 (LIBGOMP_ENABLE_SYMVERS): Use it.
1476 * configure.tgt: Check with_gnu_ld wrt have_tls optimizations.
1477 * Makefile.in, aclocal.m4, configure: Rebuild.
1479 * config/linux/mutex.c: Include libgomp.h instead of mutex.h.
1480 (gomp_mutex_unlock_slow): Fix typo.
1481 * config/linux/sem.c: Similarly.
1482 (gomp_sem_post_slow): Fix typo.
1483 * config/linux/sem.h (gomp_sem_post_slow): Fix typo.
1484 * config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code.
1485 [__PIC__] (sys_futex0): Don't use tmp output in asm.
1487 * Makefile.am (AM_CFLAGS): Expand with XCFLAGS.
1488 (libgomp_la_LDFLAGS): Add top_srcdir to path.
1489 * acinclude.m4: Copy libtool.m4 stuff from libgfortran.
1490 * configure.ac: Check for getloadavg. Substitute XCFLAGS and
1491 XLDFLAGS. Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS.
1492 * configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and
1493 LDFLAGS. Pull enable_futex check to top-level.
1494 * libgomp.h: Fix sem.h and mutex.h includes. Define ATTRIBUTE_HIDDEN.
1495 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1497 First attempt at real configury.
1498 * Makefile, config.h: Remove file.
1499 * Makefile.am, Makefile.in: New file.
1500 * acinclude.m4 aclocal.m4: New file.
1501 * configure.ac, configure.tgt, configure: New file.
1503 * config/posix/lock.c: Rename from sys-lock.c.
1504 * config/posix/mutex.h: Rename from sys-mutex.h.
1505 * config/posix/sem.c: Rename from sys-sem.c.
1506 * config/posix/sem.h: Rename from sys-sem.h.
1507 * config/posix/proc.c: Rename from sys-proc.c.
1508 * config/posix/time.c: Rename from sys-proc.c.
1510 * config/linux/mutex.c: New file.
1511 * config/linux/mutex.h: New file.
1512 * config/linux/sem.c: New file.
1513 * config/linux/sem.h: New file.
1514 * config/linux/i486/futex.h: New file.
1515 * config/linux/x86_64/futex.h: New file.
1517 2005-05-04 Richard Henderson <rth@redhat.com>
1519 * iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New.
1520 * libgomp.h: Declare them.
1521 * loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start,
1522 gomp_loop_dynamic_next, gomp_loop_guided_next): Use them.
1524 2005-05-04 Richard Henderson <rth@redhat.com>
1526 * libgomp-1 code drop
1528 2005-05-04 Richard Henderson <rth@redhat.com>
1530 * iter.c (gomp_iter_static_next): Return tri-state on 0.
1531 * ordered.c (gomp_ordered_static_next): Remove not_last argument.
1532 * libgomp.h (struct gomp_team_state): Make static_trip unsigned.
1533 (gomp_iter_static_next): Update.
1534 (gomp_ordered_static_next): Update.
1535 * loop.c (gomp_loop_static_start): Update for gomp_iter_static_next.
1536 (gomp_loop_ordered_static_start): Likewise. Exit early for a
1537 totally empty range.
1538 (gomp_loop_ordered_static_next): Refine test for calling
1539 gomp_ordered_static_next.
1540 * testsuite/ordered-1.c: Add case for more threads than iterations.
1542 * iter.c (gomp_iter_runtime_next_locked): Remove.
1543 * loop.c (gomp_loop_static_start, gomp_loop_dynamic_start,
1544 gomp_loop_guided_start, gomp_loop_ordered_static_start,
1545 gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start,
1546 gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next,
1547 gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next,
1548 gomp_loop_ordered_guided_next): Downcase name, make static, add
1549 an external alias with the old name.
1550 (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start,
1551 GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a
1552 switch and call one of the above static functions.
1553 * libgomp.h: Update.
1555 * work.c (gomp_work_share_start): Lock the mutex for !first too.
1556 * loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start,
1557 GOMP_loop_guided_start, GOMP_loop_runtime_start,
1558 GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
1559 GOMP_loop_ordered_guided_start): Update to match.
1560 * sections.c (GOMP_sections_start): Likewise.
1561 * single.c (GOMP_single_start, GOMP_single_copy_start): Likewise.
1563 * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
1564 gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//.
1565 Use bounds check instead of modulus.
1566 (gomp_ordered_sync): Split out of GOMP_ordered_start.
1567 (gomp_ordered_last): Don't sync with ordered_owner here.
1568 (gomp_ordered_next): Likewise.
1569 (gomp_ordered_static_loop_next): Likewise.
1570 * loop.c, libgomp.h: Update to match.
1572 * libgomp.h (GOMP_barrier): Declare.
1574 * testsuite/barrier-1.c: New file.
1575 * testsuite/critical-1.c: New file.
1576 * testsuite/ordered-2.c: New file.
1577 * testsuite/ordered-1.c: New file.
1578 * testsuite/sections-1.c: New file.
1579 * testsuite/single-1.c: New file.
1580 * testsuite/Makefile (TESTS): Add them.
1582 2005-05-04 Richard Henderson <rth@redhat.com>
1584 * libgomp.h (struct gomp_work_share): Add ordered_owner.
1585 * loop.c (GOMP_loop_static_start): If not the startup thread,
1586 acquire the mutex to wait for initialization complete.
1587 (GOMP_loop_ordered_static_start): Likewise.
1588 (GOMP_loop_ordered_runtime_start): Likewise.
1589 (GOMP_loop_ordered_static_first): Remove.
1590 (GOMP_loop_ordered_dynamic_first): Remove.
1591 (GOMP_loop_ordered_guided_first): Remove.
1592 (GOMP_loop_ordered_runtime_first): Remove.
1593 * ordered.c (gomp_ordered_loop_first): Post to own release when
1594 we're the first thread.
1595 (gomp_ordered_loop_last): Wait on release if not owner.
1596 (gomp_ordered_loop_next): Likewise.
1597 (gomp_ordered_static_loop_init): New.
1598 (gomp_ordered_static_loop_next): Use ordered_owner.
1599 (GOMP_ordered_start): Likewise.
1600 * work.c (gomp_new_work_share): Initialize ordered_owner.
1602 2005-05-03 Richard Henderson <rth@redhat.com>
1604 * Makefile (OPT): New.
1607 * loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New.
1608 * sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New.
1609 * libgomp.h, libgomp.map, NOTES: Update to match.
1611 * team.c (struct gomp_thread_start_data): Remove ts, fn, data.
1612 Add initialized and thr members.
1613 (gomp_thread_start): Pause when initially spawned to wait for
1614 the whole team to be created.
1615 (gomp_team_start): Release team members at the end.
1617 * testsuite/loop-1.c (N): New. Use it instead of hardcoded 100.
1618 (f_foo_1): Use GOMP_loop_end.
1619 (f_foo_2): Use GOMP_loop_end_nowait.
1621 * testsuite/loop-2.c: New file.
1622 * testsuite/Makefile (TESTS): Add it.
1624 2005-05-03 Richard Henderson <rth@redhat.com>
1626 * iter.c (gomp_iter_static_next): Fix overflow check typo.
1627 (gomp_iter_dynamic_next_locked): Fix overflow check thinko.
1628 * team.c (new_team): Initialize oldest_live_gen to 1 if no
1631 * testsuite/Makefile: New file.
1632 * testsuite/loop-1.c: New file.
1634 2005-05-03 Richard Henderson <rth@redhat.com>
1636 Initial implementation and checkin.