1 2011-06-27 Release Manager
5 2010-05-22 Release Manager
9 2010-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
13 * configure: Regenerate.
14 * aclocal.m4: Regenerate.
15 * config.h.in: Regenerate.
16 * Makefile.in: Regenerate.
17 * testsuite/Makefile.in: Regenerate.
19 2009-08-19 Tobias Burnus <burnus@net-b.de>
22 omp_lib.h.in: Fix -std=f95 errors.
24 2009-08-14 Uros Bizjak <ubizjak@gmail.com>
26 Backport from mainline:
27 2008-12-26 Uros Bizjak <ubizjak@gmail.com>
29 * testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets.
31 2009-08-04 Release Manager
35 2009-01-24 Release Manager
39 2008-12-05 Janis Johnson <janis187@us.ibm.com>
41 Backport from mainline:
42 2008-05-15 Janis Johnson <janis187@us.ibm.com>
44 * testsuite/lib/libgomp.exp: Load new torture support.
46 2008-12-02 Janis Johnson <janis187@us.ibm.com>
48 Backport from mainline:
49 2008-11-26 Janis Johnson <janis187@us.ibm.com>
52 * testsuite/lib/libgomp.exp: Include new timeout library files.
53 (libgomp_target_compile): Set timeout value from new proc.
55 2008-08-27 Release Manager
59 2008-06-12 Jakub Jelinek <jakub@redhat.com>
62 * testsuite/libgomp.c/reduction-5.c: New test.
64 2008-06-06 Release Manager
68 2008-05-23 Jakub Jelinek <jakub@redhat.com>
71 * testsuite/libgomp.c++/ctor-11.C: New test.
72 * testsuite/libgomp.c++/ctor-12.C: New test.
74 2008-05-07 Jakub Jelinek <jakub@redhat.com>
77 * testsuite/libgomp.c/atomic-5.c: New test.
78 * testsuite/libgomp.c/atomic-6.c: New test.
79 * testsuite/libgomp.c/autopar-1.c: New test.
81 2008-03-18 Jakub Jelinek <jakub@redhat.com>
84 * testsuite/libgomp.c/atomic-4.c: New test.
87 * iter.c (gomp_iter_guided_next_locked): If q > n, set end to ws->end.
88 (gomp_iter_guided_next): Likewise.
89 * testsuite/libgomp.c/pr35625.c: New test.
91 2008-03-13 Jakub Jelinek <jakub@redhat.com>
94 * testsuite/libgomp.c++/pr35185.C: New test.
96 2008-03-12 Jakub Jelinek <jakub@redhat.com>
99 * testsuite/libgomp.c/pr35549.c: New test.
101 2008-03-06 Jakub Jelinek <jakub@redhat.com>
103 * testsuite/libgomp.c/atomic-3.c: New test.
105 2008-03-05 Release Manager
107 * GCC 4.3.0 released.
109 2008-02-15 Jakub Jelinek <jakub@redhat.com>
112 * testsuite/libgomp.c/pr35196.c: New test.
115 * testsuite/libgomp.fortran/pr35130.f90: New test.
116 * testsuite/libgomp.c/pr35130.c: New test.
118 2008-01-25 Jakub Jelinek <jakub@redhat.com>
121 * testsuite/libgomp.c/pr33880.c: New test.
122 * testsuite/libgomp.fortran/pr33880.f90: New test.
124 2008-01-24 David Edelsohn <edelsohn@gnu.org>
126 * configure: Regenerate.
128 2008-01-08 Jakub Jelinek <jakub@redhat.com>
130 * configure.ac: Move futex checking into ../config/futex.m4.
131 * configure: Rebuilt.
132 * aclocal.m4: Rebuilt.
133 * Makefile.in: Rebuilt.
135 * configure.tgt: Rename have_tls to gcc_cv_have_tls to match
136 2007-10-15 ../config/tls.m4 change.
138 2007-12-19 Jakub Jelinek <jakub@redhat.com>
141 * testsuite/libgomp.c/pr34513.c: New test.
142 * testsuite/libgomp.c++/pr34513.C: New test.
144 2007-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
147 * testsuite/libgomp.fortran/crayptr2.f90: Move dg-options for darwin.
149 2007-12-04 Jakub Jelinek <jakub@redhat.com>
151 * omp.h.in (__GOMP_NOTHROW): Define. Use it on omp_* prototypes.
153 2007-12-03 Jakub Jelinek <jakub@redhat.com>
155 * testsuite/libgomp.c/private-1.c: New test.
157 2007-11-29 Andris Pavenis <andris.pavenis@iki.fi>
158 Paolo Bonzini <bonzini@gnu.org>
160 * Makefile.am: Use space as vpath separator. Use 'vpath %'
161 instead of 'VPATH ='.
162 * Makefile.in: Regenerate.
164 2007-11-23 Matthias Klose <doko@ubuntu.com>
166 * configure.ac: Adjust makeinfo version check.
167 * configure: Regenerate.
169 2007-11-10 Jakub Jelinek <jakub@redhat.com>
172 * testsuite/libgomp.fortran/pr34020.f90: New test.
174 2007-11-06 Jakub Jelinek <jakub@redhat.com>
177 * testsuite/libgomp.c++/atomic-1.C: New test.
179 2007-10-25 Jakub Jelinek <jakub@redhat.com>
182 * testsuite/libgomp.fortran/omp_parse3.f90 (test_threadprivate):
183 Make x and y integers rather than (implicit) reals. Add private (j)
184 clause to the last omp parallel.
186 2007-10-15 Maciej W. Rozycki <macro@linux-mips.org>
188 * configure: Regenerate following changes to ../config/tls.m4.
190 2007-09-28 Jakub Jelinek <jakub@redhat.com>
192 * testsuite/libgomp.fortran/stack.f90: New test.
194 2007-09-10 Danny Smith <dannysmith@users.sourceforge.net>
196 * config/mingw32/proc.c: New file.
198 2007-09-05 Uros Bizjak <ubizjak@gmail.com>
200 * testsuite/libgomp.c/atomic-1.c: Include cpuid.h for i386 targets.
201 (main): Use __get_cpuid to get i386 target fetaures.
202 * testsuite/libgomp.c/atomic-2.c: Include cpuid.h for x86_64 targets.
203 (main): Use __get_cpuid to get x86_64 target fetaures.
205 2007-08-15 Jack Howarth <howarth@bromo.med.uc.edu>
208 * testsuite/libgomp.fortran/pr32550.f90: Use -static-libgcc on Darwin.
209 * testsuite/libgomp.fortran/crayptr2.f90: Likwise.
211 2007-07-12 Jakub Jelinek <jakub@redhat.com>
214 * testsuite/libgomp.fortran/pr32550.f90: New test.
215 * testsuite/libgomp.fortran/crayptr2.f90: New test.
217 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
219 * aclocal.m4: Regenerated.
221 2007-07-05 Tobias Burnus <burnus@net-b.de>
224 * testsuite/libgomp.fortran/pr32359.f90: New.
226 2007-07-02 Jakub Jelinek <jakub@redhat.com>
229 * sections.c (GOMP_parallel_sections_start): Only decrease
230 number of threads to COUNT if dyn_var is true.
231 * testsuite/libgomp.c/pr32468.c: New test.
233 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
236 * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
238 2007-06-21 Jakub Jelinek <jakub@redhat.com>
241 * testsuite/libgomp.c/pr32362-1.c: New test.
242 * testsuite/libgomp.c/pr32362-2.c: New test.
243 * testsuite/libgomp.c/pr32362-3.c: New test.
245 2007-06-07 Jakub Jelinek <jakub@redhat.com>
247 * team.c (gomp_team_start): Fix setting up thread_attr
250 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
252 * configure: Regenerate.
254 2007-05-23 Steve Ellcey <sje@cup.hp.com>
256 * Makefile.in: Regenerate.
257 * configure: Regenerate.
258 * aclocal.m4: Regenerate.
259 * testsuite/Makefile.in: Regenerate.
261 2007-05-04 Jakub Jelinek <jakub@redhat.com>
263 * config/linux/proc.c: New file.
266 * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.
268 2007-04-19 Daniel Franke <franke.daniel@gmail.com>
270 * libgomp.texi (GOMP_CPU_AFFINITY): Updated.
272 2007-04-16 Matthias Klose <doko@debian.org>
274 * configure.tgt (i[456]86-*-linux*): Only add ia32 specific
275 flags if not building with -m64.
276 * testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march
277 flag for i?86-*-* targets, if current target matches -m64.
279 2007-04-14 Steve Ellcey <sje@cup.hp.com>
281 * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
282 * Makefile.in: Regenerate.
284 2007-04-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
287 * testsuite/libgomp.c++/c++.exp: Don't use concat when setting
289 * testsuite/libgomp.fortran/fortran.exp: Likewise.
291 2007-04-04 Jakub Jelinek <jakub@redhat.com>
293 * libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New extern
295 (gomp_init_affinity, gomp_init_thread_affinity): New prototypes.
296 * env.c (gomp_cpu_affinity, gomp_cpu_affinity_len): New variables.
297 (parse_affinity): New function.
298 (initialize_env): Call it and gomp_init_affinity.
299 * team.c (gomp_team_start): If gomp_cpu_affinity != NULL,
300 create new pthread_attr_t and call gomp_init_thread_affinity
301 on it for each thread before passing the attribute to pthread_create.
302 * config/linux/affinity.c: New file.
303 * config/posix/affinity.c: New file.
304 * configure.ac (HAVE_PTHREAD_AFFINITY_NP): New test.
305 * configure: Rebuilt.
306 * config.h.in: Rebuilt.
307 * Makefile.am (libgomp_la_SOURCES): Add affinity.c.
308 * Makefile.in: Rebuilt.
310 2007-03-23 Andreas Tobler <a.tobler@schweiz.org>
312 * testsuite/lib/libgomp.exp (libgomp_init): Add -shared-libgcc for
314 * testsuite/libgomp.c++/c++.exp: Look for shared libstdc++ library
317 2007-03-18 Uros Bizjak <ubizjak@gmail.com>
319 * testsuite/config/default.exp: New file.
320 * testsuite/lib/libgomp.exp: New file.
321 * testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init,
322 libgomp_target_compile, libgomp_option_help, libgomp_option_proc,
323 load_lib *, load_gcc_lib *): Move to libgomp.exp.
324 (libgomp_load): Remove.
325 * testsuite/lib/libgomp.exp (libgomp_init): Compute
326 always_ld_library_path, not ld_library_path. Set additional_flags
327 to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets.
328 (target_compile): Do not call libgomp_init. Append lang_library_path
329 and lang_link_flags to options.
330 * testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2. Set
331 ld_library_path from always_ld_library_path. Set LD_LIBRARY_PATH
333 * testsuite/libgomp.c++/c++.exp: Set ld_library_path from
334 always_ld_library_path. Set LD_LIBRARY_PATH here.
335 * testsuite/libgomp.fortran/fortran.exp: Ditto.
336 * testsuite/libgomp.c/atomic-1.c: Set dg-options to
337 "-O2 -march=pentium" for ilp32 x86 targets. Simplify check for
339 * testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for
340 lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3.
341 * testsuite/libgomp.c/pr29947-1.c: Remove default dg-options.
342 * testsuite/libgomp.c/pr29947-1.c: Ditto.
343 * testsuite/libgomp.c/atomic-10.c: Ditto.
345 2007-03-21 Jakub Jelinek <jakub@redhat.com>
347 * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add
348 dg-final cleanup-modules line.
349 * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise.
350 * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise.
351 * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise.
352 * testsuite/libgomp.fortran/threadprivate2.f90: Likewise.
353 * testsuite/libgomp.fortran/reduction5.f90: Likewise.
354 * testsuite/libgomp.fortran/threadprivate3.f90: Likewise.
355 * testsuite/libgomp.fortran/threadprivate1.f90: Likewise.
357 2007-03-18 Andreas Schwab <schwab@suse.de>
359 * acinclude.m4: Adjust regular expression for ld version
361 * configure: Regenerate.
363 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
365 * Makefile.am: Add install-pdf target as copied from
366 automake v1.10 rules.
367 * Makefile.in: Regenerate
369 2007-02-07 Jakub Jelinek <jakub@redhat.com>
372 * configure: Regenerate.
375 * testsuite/libgomp.c++/pr30703.C: New test.
377 2007-02-02 Jakub Jelinek <jakub@redhat.com>
380 2006-07-05 Eric Christopher <echristo@apple.com>
381 * configure.ac: Depend addition of -pthread on host OS.
382 * configure: Regenerate.
384 2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
386 * libgomp.texi: Fix spacing after abbreviations.
388 2007-01-31 Daniel Franke <franke.daniel@gmail.com>
391 * configure.ac: Add check for makeinfo
392 * Makefile.am: Redefined target libgomp.info, build libgomp.info only
393 if an appropiate version of makeinfo is found.
394 * aclocal.m4: Regenerated.
395 * configure: Regenerated.
396 * Makefile.in: Regenerated.
397 * testsuite/Makefile.in: Regenerated.
399 2007-01-29 Daniel Franke <franke.daniel@gmail.com>
402 * libgomp.texi: More about implementation-dependent settings.
404 2007-01-26 Tobias Burnus <burnus@net-b.de>
406 * testsuite/libgomp.fortran/fortran.exp: Support .f03 extension.
408 2007-01-24 Jakub Jelinek <jakub@redhat.com>
411 * testsuite/libgomp.c/pr30494.c: New test.
413 2007-01-15 Tom Tromey <tromey@redhat.com>
415 * configure: Rebuilt.
416 * configure.ac: Fixed comment.
418 2007-01-14 Daniel Franke <franke.daniel@gmail.com>
420 * libgomp.texi: Document implementation specific default values of
421 environment variables.
423 2006-12-21 Daniel Franke <franke.daniel@gmail.com>
426 * libgomp.texi: New file.
427 * configure.ac: Add --enable-generated-files-in-srcdir option.
428 * Makefile.am: Add info, dvi, pdf, html targets. On request, copy
430 * Makefile.in: Regenerated.
431 * config.h.in: Regenerated.
432 * testsuite/Makefile.in: Regenerated.
435 2006-12-04 Daniel Franke <franke.daniel@gmail.com>
438 * env.c (omp_set_num_threads): Set illegal thread count to 1.
440 2006-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
442 * configure: Regenerate.
444 2006-12-04 Jakub Jelinek <jakub@redhat.com>
447 * loop.c (gomp_loop_init): Make parameters signed. Set ws->end to
448 start if there shouldn't be any loop iterations.
449 (gomp_loop_ordered_static_start): Remove start == end test.
450 * testsuite/libgomp.c/pr29947-1.c: New test.
451 * testsuite/libgomp.c/pr29947-2.c: New test.
453 2006-12-02 Eric Botcazou <ebotcazou@libertysurf.fr>
455 * configure.tgt: Force initial-exec TLS model on Linux only.
457 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
459 * configure: Regenerated.
461 2006-11-09 Uros Bizjak <ubizjak@gmail.com>
463 * env.c (parse_schedule): Reject out of range values.
464 (parse_unsigned_long): Reject out of range, negative or zero values.
466 2006-10-29 Jakub Jelinek <jakub@redhat.com>
469 * testsuite/libgomp.fortran/pr29629.f90: New test.
471 2006-10-24 Eric Botcazou <ebotcazou@libertysurf.fr>
474 * configure.tgt: Use posix95 configuration for Solaris 2.5.1 and 2.6.
475 * config/posix95: New directory.
476 * config/posix95/omp-lock.h: New file.
477 * config/posix95/lock.c: Likewise.
479 2006-10-14 Geoffrey Keating <geoffk@apple.com>
481 * aclocal.m4: Regenerate.
482 * configure: Regenerate.
484 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net>
486 * testsuite/libgomp.c/barrier-1.c: Change timestamp tests from
489 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net>
491 * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from
493 * configure: Regenerate.
494 * fortran.c (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias.
496 2006-09-26 Jakub Jelinek <jakub@redhat.com>
500 * testsuite/libgomp.c/nestedfn-4.c: New test.
501 * testsuite/libgomp.c/nestedfn-5.c: New test.
502 * testsuite/libgomp.fortran/nestedfn3.f90: New test.
505 * testsuite/libgomp.fortran/condinc1.f: New test.
506 * testsuite/libgomp.fortran/condinc2.f: New test.
507 * testsuite/libgomp.fortran/condinc3.f90: New test.
508 * testsuite/libgomp.fortran/condinc4.f90: New test.
509 * testsuite/libgomp.fortran/condinc1.inc: New file.
511 2006-09-18 Tom Tromey <tromey@redhat.com>
513 * configure: Rebuilt.
515 2006-09-13 Joseph S. Myers <joseph@codesourcery.com>
518 PR preprocessor/14634
519 * configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument
521 * configure: Regenerate.
523 2006-09-08 Steven G. Kargl <kargl@gcc.gnu.org>
525 * testsuite/libgomp.fortran/reduction3.f90: Change
526 -2147483648 to -huge(i)-1 to avoid overflow.
527 * testsuite/libgomp.fortran/reduction4.f90: Change
528 Z'ffffffff' to not(0) to avoid overflow.
530 2006-08-26 Joseph S. Myers <joseph@codesourcery.com>
533 * Makefile.am (libsubincludedir): New.
534 (nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
535 * Makefile.in: Regenerate.
537 2006-08-17 Jakub Jelinek <jakub@redhat.com>
540 * env.c: Include ctype.h.
541 (parse_schedule, parse_unsigned_long, parse_boolean): Allow
542 leading and/or trailing whitespace and compare strings case
545 2006-07-16 Jakub Jelinek <jakub@redhat.com>
548 * testsuite/libgomp.fortran/pr28390.f: New test.
550 2006-07-05 Eric Christopher <echristo@apple.com>
552 * configure.ac: Depend addition of -pthread on host OS.
553 * configure: Regenerate.
555 2006-06-21 Jakub Jelinek <jakub@redhat.com>
557 * critical.c (GOMP_critical_name_start): Fix *pptr initialization
558 when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is
561 2006-06-20 Jakub Jelinek <jakub@redhat.com>
565 * configure.ac: If neither --enable-linux-futex nor
566 --disable-linux-futex is passed, determine the default by checking
567 for compiling and/or running against NPTL. With --enable-linux-futex,
568 check if SYS_gettid and SYS_futex are defined.
569 * configure: Rebuilt.
571 2006-06-14 Richard Henderson <rth@redhat.com>
574 * env.c (initialize_env): Avoid using PTHREAD_STACK_MIN when
575 undefined. Use GOMP_STACKSIZE not OMP_STACKSIZE for environment.
577 2006-06-09 Richard Henderson <rth@redhat.com>
579 * env.c (gomp_nthreads_var): Change to unsigned long.
580 (gomp_run_sched_chunk): Likewise.
581 (parse_unsigned_long): Rename from parse_num_threads and generalize.
582 (initialize_env): Initialize gomp_thread_attr.
583 * libgomp.h (gomp_nthreads_var): Update decl.
584 (gomp_run_sched_chunk): Likewise.
585 (gomp_thread_attr): Declare.
586 * team.c (gomp_thread_attr): Export.
587 (initialize_team): Don't initialize it.
589 2006-06-09 Jakub Jelinek <jakub@redhat.com>
592 * testsuite/libgomp.fortran/pr27916-1.f90: New test.
593 * testsuite/libgomp.fortran/pr27916-2.f90: New test.
595 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
597 * config/mingw32/time.c: New file.
598 * configure.tgt: Use it.
600 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
602 * Makefile.am: Add install-html target. Add install-html to .PHONY
603 * Makefile.in: Regenerate.
605 2006-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
608 * testsuite/libgomp.c/sections-1.c: Require sync_int_long.
609 * testsuite/libgomp.c/critical-1.c: Likewise.
610 * testsuite/libgomp.c/loop-1.c: Likewise.
611 * testsuite/libgomp.c/loop-2.c: Likewise.
612 * testsuite/libgomp.c/single-1.c: Likewise.
613 * testsuite/libgomp.c/ordered-1.c: Likewise.
614 * testsuite/libgomp.c/ordered-2.c: Likewise.
616 2006-05-15 Jakub Jelinek <jakub@redhat.com>
619 * libgomp.fortran/pr27416-1.f90: New test.
621 2006-05-03 Jakub Jelinek <jakub@redhat.com>
624 * testsuite/libgomp.fortran/pr27395-1.f90: New test.
625 * testsuite/libgomp.fortran/pr27395-2.f90: New test.
627 2006-05-02 Jakub Jelinek <jakub@redhat.com>
630 * testsuite/libgomp.c/pr26943-1.c: New test.
631 * testsuite/libgomp.c/pr26943-2.c: New test.
632 * testsuite/libgomp.c/pr26943-3.c: New test.
633 * testsuite/libgomp.c/pr26943-4.c: New test.
634 * testsuite/libgomp.c++/pr27337.C: Remove barrier.
635 * testsuite/libgomp.c++/pr26943.C: New test.
637 2006-05-02 Jakub Jelinek <jakub@redhat.com>
640 * testsuite/libgomp.c++/pr27337.C: New test.
642 2006-04-26 Jakub Jelinek <jakub@redhat.com>
645 * testsuite/libgomp.c/pr26171.c: New test.
647 2006-04-25 Richard Henderson <rth@redhat.com>
650 * configure.ac: Use GCC_CHECK_TLS.
651 * acinclude.m4 (LIBGOMP_CHECK_TLS): Remove.
652 * Makefile.in, aclocal.m4, configure: Regenerate.
654 2006-04-10 Matthias Klose <doko@debian.org>
656 * testsuite/lib/libgomp.exp (libgomp_init): Recognize multilib
657 directory names containing underscores.
659 2006-03-21 Jakub Jelinek <jakub@redhat.com>
662 * testsuite/libgomp.c++/pr26691.C: New test.
664 2006-03-13 Jakub Jelinek <jakub@redhat.com>
666 * testsuite/libgomp.fortran/retval2.f90: New test.
668 2006-03-09 Diego Novillo <dnovillo@redhat.com>
670 * testsuite/libgomp.c++: New directory.
672 2006-02-25 Shantonu Sen <ssen@opendarwin.org>
674 * config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions.
675 * config/posix/sem.c: Implement the above.
677 2006-02-25 Andreas Tobler <a.tobler@schweiz.ch>
679 * configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and
680 define HAVE_BROKEN_POSIX_SEMAPHORES.
681 * configure: Rebuilt.
682 * config.h.in: Rebuilt.
684 2006-02-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
687 * configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment
688 for the other pthread check.
689 * configure: Regenerate.
690 * config.h.in: Regenerate.
692 2006-02-15 Jakub Jelinek <jakub@redhat.com>
696 * Makefile.am (fincludedir): New variable.
697 (nodist_include_HEADERS): Remove Fortran files.
698 (nodist_finclude_HEADERS): New variable.
699 * Makefile.in: Regenerated.
701 2006-02-13 Jakub Jelinek <jakub@redhat.com>
703 * testsuite/libgomp.fortran/vla7.f90: Add -w to options.
704 Remove tests for returning assumed character length arrays.
706 2006-02-12 Roger Sayle <roger@eyesopen.com>
707 John David Anglin <dave@hiauly1.hia.nrc.ca>
710 * configure.tgt: Link against -lrt for sem_init on HPUX v11 systems.
712 2006-02-08 Ulrich Weigand <uweigand@de.ibm.com>
714 * testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library.
716 2006-02-07 Eric Botcazou <ebotcazou@libertysurf.fr>
718 * testsuite/lib/libgomp-dg.exp (libgomp_init): Compute multilib related
719 part of LD_LIBRARY_PATH manually.
721 2006-02-03 H.J. Lu <hongjiu.lu@intel.com>
724 * testsuite/lib/libgomp-dg.exp (blddir): Set it in
727 2005-01-25 Paolo Bonzini <bonzini@gnu.org>
730 * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove.
731 * configure.ac (PERL): Don't set.
732 (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here.
733 (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE,
734 OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions.
735 * omp.h.in: Wrap the new configure substitutions with @ characters.
736 * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise.
737 * aclocal.m4, configure, Makefile.in: Regenerate.
738 * mkomp_h.pl: Delete.
740 2005-01-24 Paolo Bonzini <bonzini@gnu.org>
743 * configure.ac: Use GCC_HEADER_STDINT.
744 * libgomp.h: Include gstdint.h.
745 * libgomp_f.h.in: Don't include stdint.h or inttypes.h.
746 * configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild.
748 2006-01-24 Richard Henderson <rth@redhat.com>
751 * configure.ac: Add AM_MAINTAINER_MODE.
752 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild.
754 2006-01-24 Diego Novillo <dnovillo@redhat.com>
756 * Makefile.in: Regenerate.
757 * testsuite/Makefile.in: Regenerate.
758 * aclocal.m4: Regenerate.
760 2006-01-23 Andreas Tobler <a.tobler@schweiz.ch>
762 * config/posix/proc.c: Conditional include of sys/loadavg.h for
764 * configure.ac: Add check for loadavg.h.
765 (link_gomp): Adjust comment.
766 * configure: Regenerate.
767 * config.h.in: Regenerate.
769 2006-01-21 Steve Ellcey <sje@cup.hp.com>
772 * configure.ac: Remove check for alloca.h.
773 * configure: Regenerate.
774 * config.h.in: Regenerate.
775 * libgomp.h: define gomp_alloca to be __builtin_alloca.
776 * team.c: Remove use of alloca.h.
777 Call gomp_alloca instead of alloca.
779 2006-01-20 Steve Ellcey <sje@cup.hp.com>
782 * team.c: Add include of alloca.h.
783 * configure.ac: Add check for alloca.h.
784 * configure: Regenerate.
785 * config.h.in: Regenerate.
787 2006-01-17 Jakub Jelinek <jakub@redhat.com>
790 * testsuite/libgomp.fortran/pr25219.f90: New test.
792 2005-12-05 Uros Bizjak <uros@kss-loka.si>
794 * testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c,
795 testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c,
796 testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
797 testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
798 testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C,
799 testsuite/libgomp.fortran/threadprivate1.f90,
800 testsuite/libgomp.fortran/threadprivate2.f90,
801 testsuite/libgomp.fortran/threadprivate3.f90,
802 testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
803 testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
804 testsuite/libgomp.fortran/omp_parse3.f90: Change required
805 effective-target to TLS runtime.
807 * testsuite/libgomp.fortran/pr25162.f: Require
808 effective-target TLS runtime.
810 2005-12-01 Jakub Jelinek <jakub@redhat.com>
812 * testsuite/libgomp.fortran/nestedfn2.f90: New test.
813 * testsuite/libgomp.c/nestedfn-3.c: New test.
815 2005-11-30 Jakub Jelinek <jakub@redhat.com>
818 * testsuite/libgomp.fortran/pr25162.f: New test.
820 2005-11-28 Jakub Jelinek <jakub@redhat.com>
822 * config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to
823 CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed.
825 2005-11-25 Jakub Jelinek <jakub@redhat.com>
827 * alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c,
828 libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in,
829 omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c,
830 single.c, team.c, work.c, config/linux/alpha/futex.h,
831 config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h,
832 config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h,
833 config/linux/powerpc/futex.h, config/linux/s390/futex.h,
834 config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h,
835 config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h,
836 config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c,
837 config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update
840 2005-11-18 Jakub Jelinek <jakub@redhat.com>
842 * Makefile.am: Move libgomp_f.h from nodist_include_HEADERS
843 to nodist_noinst_HEADERS.
844 * Makefile.in: Rebuilt.
846 * config/posix/omp-lock.h (omp_nest_lock_t): Change into struct,
847 add integer count field.
848 * config/posix/lock.c (omp_destroy_nest_lock): Adjust for
849 omp_nest_lock_t type change.
850 (omp_init_nest_lock): Likewise. Initialize count to 0.
851 (omp_set_nest_lock): Adjust for omp_nest_lock_t type change.
853 (omp_unset_nest_lock): Adjust for omp_nest_lock_t type change.
855 (omp_test_nest_lock): Adjust for omp_nest_lock_t type change.
856 Increment count if successful and return the new nesting level.
857 * config/linux/lock.c (omp_test_nest_lock): Return new nesting level.
858 * omp_lib.f90.in (omp_test_lock): Fix LOCK argument type.
859 * testsuite/libgomp.c/lib-1.c: New test.
860 * testsuite/libgomp.fortran/lib1.f90: New test.
861 * testsuite/libgomp.fortran/lib2.f: New test.
862 * testsuite/libgomp.fortran/lib3.f: New test.
864 2005-11-17 Richard Henderson <rth@redhat.com>
867 * Makefile.am (nodist_toolexeclib_HEADERS): New.
868 * configure.ac (link_gomp): New. Substitute it.
869 (AC_CONFIG_FILES): Add libgomp.spec.
870 * libgomp.spec.in: New file.
871 * Makefile.in, testsuite/Makefile.in, configure: Rebuild.
872 * testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags.
874 2005-11-18 Jakub Jelinek <jakub@redhat.com>
876 * testsuite/libgomp.fortran/reduction1.f90: Adjust for
877 reduction(-:var) behaving the same as reduction(+:var).
878 * testsuite/libgomp.c/reduction-4.c: New test.
880 2005-11-15 Uros Bizjak <uros@kss-loka.si>
882 * testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c,
883 testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c,
884 testsuite/libgomp.c/copyin-3.c,
885 testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
886 testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
887 testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C,
888 testsuite/libgomp.c++/pr24455.C,
889 testsuite/libgomp.fortran/threadprivate1.f90,
890 testsuite/libgomp.fortran/threadprivate2.f90,
891 testsuite/libgomp.fortran/threadprivate3.f90,
892 testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
893 testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
894 testsuite/libgomp.fortran/omp_parse3.f90: Require
895 effective-target TLS.
897 2005-11-14 Diego Novillo <dnovillo@redhat.com>
901 2005-11-13 Jakub Jelinek <jakub@redhat.com>
904 * team.c (initialize_team): Pass NULL rather than free as
905 pthread_key_create destructor. Initialize thread specific data
906 pointer in initial thread to a static local variable rather than
909 2005-11-11 Uros Bizjak <uros@kss-loka.si>
911 * testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append
912 its location to ld_library_path.
914 2005-11-10 Diego Novillo <dnovillo@redhat.com>
916 * testsuite/libgomp.c/c.exp: Rename from dg.exp.
918 2005-11-10 Diego Novillo <dnovillo@redhat.com>
920 * testsuite/libgomp.c: Rename from libgomp.dg.
922 2005-11-09 Diego Novillo <dnovillo@redhat.com>
924 * testsuite/libgomp.c++/pr24455.C: Add copyin clause for
925 threadprivate variable 'i'.
927 2005-11-09 Jakub Jelinek <jakub@redhat.com>
929 * config/linux/s390/futex.h: New file.
930 * configure.tgt: Use it.
932 * testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization
935 2005-11-08 Jakub Jelinek <jakub@redhat.com>
938 * testsuite/libgomp.c++/master-1.C: New test.
940 2005-11-07 Jakub Jelinek <jakub@redhat.com>
942 * testsuite/libgomp.dg/copyin-3.c: New test.
944 2005-11-07 Jakub Jelinek <jakub@redhat.com>
946 * testsuite/libgomp.fortran/retval1.f90: New test.
947 * testsuite/libgomp.fortran/vla7.f90: New test.
949 2005-11-06 Jakub Jelinek <jakub@redhat.com>
951 * testsuite/libgomp.fortran/vla2.f90: New test.
952 * testsuite/libgomp.fortran/vla3.f90: New test.
953 * testsuite/libgomp.fortran/vla4.f90: New test.
954 * testsuite/libgomp.fortran/vla5.f90: New test.
955 * testsuite/libgomp.fortran/vla6.f90: New test.
957 2005-11-01 Jakub Jelinek <jakub@redhat.com>
959 * config/linux/sparc/futex.h: New file.
960 * configure.tgt: Use it.
961 * testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing.
963 * critical.c: Include stdlib.h.
964 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about
965 ignoring return value.
966 * configure.ac: Don't put -Wc,-pthread into XCFLAGS until after
967 LIBGOMP_CHECK_SYNC_BUILTINS check.
968 * configure: Rebuilt.
970 2005-10-31 Jakub Jelinek <jakub@redhat.com>
972 * testsuite/libgomp.fortran/vla1.f90: New test.
974 2005-10-31 Richard Henderson <rth@redhat.com>
976 * testsuite/libgomp.fortran/character2.f90: Fix race condition
977 setting 's' in different threads.
979 2005-10-31 Jakub Jelinek <jakub@redhat.com>
981 * libgomp.h (attribute_hidden, ialias): Define.
982 * config/posix/proc.c (omp_get_num_procs): Add ialias.
983 * config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise.
984 * config/posix/lock.c (omp_init_lock, omp_init_nest_lock,
985 omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
986 omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
987 omp_test_lock, omp_test_nest_lock): Likewise.
988 * config/linux/lock.c (omp_init_lock, omp_init_nest_lock,
989 omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
990 omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
991 omp_test_lock, omp_test_nest_lock): Likewise.
992 * env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads,
993 omp_get_dynamic, omp_get_nested): Likewise.
994 * parallel.c (omp_get_num_threads, omp_get_max_threads,
995 omp_get_thread_num, omp_in_parallel): Likewise.
996 * fortran.c (ialias_redirect): Define.
997 (omp_init_lock, omp_init_nest_lock, omp_destroy_lock,
998 omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock,
999 omp_unset_lock, omp_unset_nest_lock, omp_test_lock,
1000 omp_test_nest_lock, omp_set_dynamic, omp_set_nested,
1001 omp_set_num_threads, omp_get_dynamic, omp_get_nested,
1002 omp_in_parallel, omp_get_max_threads, omp_get_num_procs,
1003 omp_get_num_threads, omp_get_thread_num, omp_get_wtick,
1004 omp_get_wtime): Add ialias_redirect.
1006 2005-10-30 Jakub Jelinek <jakub@redhat.com>
1008 * fortran.c: Include stdlib.h.
1010 2005-10-29 Jakub Jelinek <jakub@redhat.com>
1012 * Makefile.am (env.o, env.lo): Depend on libgomp_f.h.
1013 * Makefile.in: Regenerated.
1015 2005-10-28 Jakub Jelinek <jakub@redhat.com>
1017 * mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE.
1018 * libgomp_f.h.in (omp_check_defines): New function.
1019 * env.c: Include libgomp_f.h.
1020 (initialize_env): Call omp_check_defines.
1022 * testsuite/libgomp.dg/copyin-2.c: New test.
1023 * testsuite/libgomp.c++/copyin-2.C: New test.
1024 * testsuite/libgomp.fortran/threadprivate3.f90: New test.
1026 * testsuite/libgomp.fortran/threadprivate2.f90: New test.
1027 * testsuite/libgomp.fortran/sharing2.f90: New test.
1029 * testsuite/libgomp.dg/copyin-1.c: New test.
1030 * testsuite/libgomp.c++/copyin-1.C: New test.
1032 2005-10-26 Jakub Jelinek <jakub@redhat.com>
1034 * testsuite/libgomp.fortran/crayptr1.f90: New test.
1036 * testsuite/libgomp.fortran/workshare1.f90: New test.
1038 * libgomp.fortran/appendix-a/a.28.5.f90: Change into compile
1040 * libgomp.fortran/sharing1.f90: New test.
1042 2005-10-24 Jakub Jelinek <jakub@redhat.com>
1045 * testsuite/libgomp.c++/loop-7.C: New test.
1047 * testsuite/libgomp.dg/nestedfn-2.c: New test.
1049 * testsuite/libgomp.dg/nestedfn-1.c: New test.
1050 * testsuite/libgomp.fortran/reduction6.f90: New test.
1051 * testsuite/libgomp.fortran/nestedfn1.f90: New test.
1053 2005-10-23 Richard Henderson <rth@redhat.com>
1055 * testsuite/libgomp.c++/ctor-1.C: New.
1056 * testsuite/libgomp.c++/ctor-2.C: New.
1057 * testsuite/libgomp.c++/ctor-3.C: New.
1058 * testsuite/libgomp.c++/ctor-4.C: New.
1059 * testsuite/libgomp.c++/ctor-5.C: New.
1060 * testsuite/libgomp.c++/ctor-6.C: New.
1061 * testsuite/libgomp.c++/ctor-7.C: New.
1062 * testsuite/libgomp.c++/ctor-8.C: New.
1063 * testsuite/libgomp.c++/ctor-9.C: New.
1065 2005-10-21 Diego Novillo <dnovillo@redhat.com>
1068 * testsuite/libgomp.c++/pr24455-1.C: New test.
1069 * testsuite/libgomp.c++/pr24455.C: New test.
1070 * testsuite/libgomp.dg/pr24455-1.c: New test.
1071 * testsuite/libgomp.dg/pr24455.c: New test.
1073 2005-10-20 Richard Henderson <rth@redhat.com>
1075 * testsuite/libgomp.c++/loop-6.C: New.
1076 * testsuite/libgomp.dg/loop-3.c: New.
1078 2005-10-20 Jakub Jelinek <jakub@redhat.com>
1080 * testsuite/libgomp.fortran/jacobi.f: Don't make i and j
1082 * testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i
1085 2005-10-19 Diego Novillo <dnovillo@redhat.com>
1087 * testsuite/libgomp.fortran/jacobi.f: New test.
1089 2005-10-19 Richard Henderson <rth@redhat.com>
1091 * configure.tgt (i?86-linux): Default to with_arch instead of
1092 CFLAGS. Add -mtune to match target_cpu.
1093 (x86_64-linux): Tune to i686.
1095 * fortran.c (omp_test_nest_lock_): Fix typo.
1097 2005-10-19 Jakub Jelinek <jakub@redhat.com>
1099 * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
1100 gomp_ordered_sync): Do nothing if team->nthreads == 1.
1101 * testsuite/libgomp.dg/ordered-3.c: New test.
1103 * testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort.
1104 Remove volatile keyword.
1106 * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables
1107 in COMMON block to avoid warnings on 64-bit targets.
1109 2005-10-18 Diego Novillo <dnovillo@redhat.com>
1111 * testsuite/libgomp.dg/shared-3.c: New test.
1113 2005-10-18 Jakub Jelinek <jakub@redhat.com>
1115 * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed.
1116 * testsuite/libgomp.fortran/reduction5.f90: New test.
1118 2005-10-18 Jakub Jelinek <jakub@redhat.com>
1120 * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to
1122 * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise. Enable
1123 flush loop now that __sync_synchronize has proper memory barrier.
1124 * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo.
1125 Add -ffixed-form to dg-options.
1127 2005-10-17 Diego Novillo <dnovillo@redhat.com>
1129 * testsuite/libgomp.fortran/fortran.exp: Also gather tests
1130 from subdirectories.
1131 * testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test.
1132 * testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test.
1133 * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test.
1134 * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test.
1135 * testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test.
1136 * testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test.
1137 * testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test.
1138 * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test.
1139 * testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test.
1140 * testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test.
1141 * testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test.
1142 * testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test.
1143 * testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test.
1144 * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test.
1145 * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test.
1146 * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test.
1147 * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test.
1148 * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test.
1149 * testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test.
1150 * testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test.
1151 * testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test.
1152 * testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test.
1153 * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test.
1154 * testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test.
1155 * testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test.
1157 2005-10-17 Jakub Jelinek <jakub@redhat.com>
1159 * testsuite/libgomp.dg/dg.exp: Only unset lang_* if
1160 lang_library_path exists. Use find instead of glob to gather tests.
1161 * testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed.
1163 2005-10-17 Diego Novillo <dnovillo@redhat.com>
1165 * testsuite/libgomp.dg/appendix-a/a.15.1.c: New test.
1166 * testsuite/libgomp.dg/appendix-a/a.16.1.c: New test.
1167 * testsuite/libgomp.dg/appendix-a/a.18.1.c: New test.
1168 * testsuite/libgomp.dg/appendix-a/a.19.1.c: New test.
1169 * testsuite/libgomp.dg/appendix-a/a.2.1.c: New test.
1170 * testsuite/libgomp.dg/appendix-a/a.21.1.c: New test.
1171 * testsuite/libgomp.dg/appendix-a/a.26.1.c: New test.
1172 * testsuite/libgomp.dg/appendix-a/a.29.1.c: New test.
1173 * testsuite/libgomp.dg/appendix-a/a.3.1.c: New test.
1174 * testsuite/libgomp.dg/appendix-a/a.39.1.c: New test.
1175 * testsuite/libgomp.dg/appendix-a/a.4.1.c: New test.
1176 * testsuite/libgomp.dg/appendix-a/a.5.1.c: New test.
1177 * testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file.
1179 2005-10-15 Jakub Jelinek <jakub@redhat.com>
1181 * testsuite/libgomp.dg/vla-1.c: New test.
1183 * testsuite/libgomp.fortran/reference2.f90: New test.
1185 * testsuite/libgomp.fortran/character2.f90: Remove explicit
1186 declaration of omp_get_thread_num.
1187 * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. Add
1190 * testsuite/libgomp.fortran/reduction1.f90: New test.
1191 * testsuite/libgomp.fortran/reduction2.f90: New test.
1192 * testsuite/libgomp.fortran/reduction3.f90: New test.
1193 * testsuite/libgomp.fortran/reduction4.f90: New test.
1195 2005-10-13 Richard Henderson <rth@redhat.com>
1197 * Makefile.am (libgomp_la_SOURCES): Add bar.c.
1198 * Makefile.in: Regenerate.
1199 * barrier.c (GOMP_barrier): Use gomp_barrier_wait.
1200 * libgomp.h: Include bar.h.
1201 (struct gomp_barrier): Remove.
1202 (struct gomp_team): Add barrier. Replace master_barrier with
1203 master_release. Replace threads with ordered_release.
1204 (struct gomp_thread): Replace barrier with release.
1205 * ordered.c (gomp_ordered_first): Update for ordered_release change.
1206 (gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init,
1207 gomp_ordered_static_next, gomp_ordered_sync): Likewise.
1208 * single.c (GOMP_single_copy_start): Use gomp_barrier_wait.
1209 (GOMP_single_copy_end): Likewise.
1210 * team.c (gomp_threads_dock): New.
1211 (gomp_barrier_init, gomp_barrier_destroy): Remove.
1212 (gomp_thread_start): Use gomp_barrier_wait.
1213 (new_team, free_team): Update for gomp_team changes.
1214 (gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit.
1215 (gomp_team_end): Use gomp_barrier_wait.
1216 (initialize_team): Update for gomp_thread changes.
1217 * work.c (gomp_work_share_end): Use gomp_barrier_wait_start.
1218 (gomp_work_share_end_nowait): Use atomic ops when available.
1219 * config/linux/bar.c, config/linux/bar.h: New files.
1220 * config/posix/bar.c, config/posix/bar.h: New files.
1222 2005-10-13 Jakub Jelinek <jakub@redhat.com>
1224 * single.c (GOMP_single_copy_end): Don't segfault if team is NULL.
1225 * testsuite/libgomp.dg/single-2.c: New test.
1227 * testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file,
1228 lang_link_flags): Unset, so that they aren't inherited from previously
1231 * testsuite/libgomp.fortran/threadprivate1.f90: New test.
1233 2005-10-12 Richard Henderson <rth@redhat.com>
1235 * testsuite/lib/libgomp-dg.exp: Set blddir at toplevel.
1236 (libgomp_init): Use lang_test_file, lang_library_path, and
1237 lang_link_flags, set by the subdirectory files. Add -fopenmp here.
1239 * testsuite/libgomp.fortran/fortran.exp (lang_library_path): New.
1240 (lang_test_file, lang_link_flags): New.
1241 (DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove.
1243 * testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C,
1244 testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C,
1245 testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C,
1246 testsuite/libgomp.c++/parallel-1.C,
1247 testsuite/libgomp.c++/reduction-1.C,
1248 testsuite/libgomp.c++/reduction-2.C,
1249 testsuite/libgomp.c++/reduction-3.C,
1250 testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C,
1251 testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C,
1252 testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C:
1253 New files, largely cribbed from the C testsuite.
1255 2005-10-12 Jakub Jelinek <jakub@redhat.com>
1257 * testsuite/libgomp.fortran/character1.f90: New test.
1258 * testsuite/libgomp.fortran/character2.f90: New test.
1260 * testsuite/libgomp.dg/nested-1.c: New test.
1261 * testsuite/libgomp.dg/nested-2.c: New test.
1262 * testsuite/libgomp.fortran/do1.f90: New test.
1263 * testsuite/libgomp.fortran/do2.f90: New test.
1265 * testsuite/libgomp.fortran/reference1.f90: New test.
1267 2005-10-11 Jakub Jelinek <jakub@redhat.com>
1269 * testsuite/libgomp.dg/reduction-1.c: New test.
1270 * testsuite/libgomp.dg/reduction-2.c: New test.
1271 * testsuite/libgomp.dg/reduction-3.c: New test.
1273 2005-10-10 Jakub Jelinek <jakub@redhat.com>
1275 * testsuite/libgomp.dg/atomic-1.c: New test.
1276 * testsuite/libgomp.dg/atomic-2.c: New test.
1278 2005-10-09 Richard Henderson <rth@redhat.com>
1280 * critical.c (atomic_lock): New.
1281 (initialize_critical): Initialize it.
1282 (GOMP_atomic_start, GOMP_atomic_end): New.
1283 * libgomp.map: Export them.
1284 * libgomp_g.h: Declare them.
1286 * testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite.
1288 2005-10-02 Richard Henderson <rth@redhat.com>
1290 * configure.ac: Move save_CFLAGS hack earlier. Append -Wall/-Werror
1291 to XCFLAGS instead of CFLAGS.
1293 2005-09-30 Richard Henderson <rth@redhat.com>
1295 * configure.ac: Determine whether -pthread or -lpthread is needed.
1296 * Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread.
1297 * Makefine.in, configure: Rebuild.
1299 2005-09-28 Richard Henderson <rth@redhat.com>
1301 * testsuite/libgomp.dg/omp-loop03.c: Fix return code.
1302 * testsuite/libgomp.dg/omp-single-3.c: New test.
1304 2005-09-28 Diego Novillo <dnovillo@redhat.com>
1306 * testsuite/libgomp.dg/omp-single-2.c: New test.
1307 * testsuite/libgomp.dg/shared-2.c: Fix return code.
1309 2005-09-27 Richard Henderson <rth@redhat.com>
1311 * testsuite/libgomp.dg/omp-loop03.c: Add initial barrier.
1312 * testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule.
1314 2005-09-27 Jakub Jelinek <jakub@redhat.com>
1316 * testsuite/libgomp.dg/omp-loop03.c: New test.
1318 2005-09-27 Diego Novillo <dnovillo@redhat.com>
1320 * testsuite/libgomp.dg/omp-parallel-for.c: New test.
1322 2005-09-27 Diego Novillo <dnovillo@redhat.com>
1324 * testsuite/libgomp.dg/omp-single-1.c: New test.
1325 * testsuite/libgomp.dg/shared-1.c: Return 0.
1326 Add prototype for abort.
1327 * testsuite/libgomp.dg/shared-2.c: Likewise.
1329 2005-09-26 Jakub Jelinek <jakub@redhat.com>
1331 * testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming
1334 2005-09-26 Diego Novillo <dnovillo@redhat.com>
1336 * testsuite/libgomp.dg/shared-1.c: New test.
1337 * testsuite/libgomp.dg/shared-2.c: New test.
1339 2005-09-24 Richard Henderson <rth@redhat.com>
1341 * testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error.
1343 2005-09-24 Richard Henderson <rth@redhat.com>
1345 * iter.c (gomp_iter_static_next): Round up when computing number
1346 of iterations. Don't bother distributing a remainder equally.
1348 * testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main.
1349 Don't call srand. Zero b before testing.
1352 2005-09-24 Jakub Jelinek <jakub@redhat.com>
1354 * testsuite/libgomp.fortran/omp_atomic1.f90: New test.
1355 * testsuite/libgomp.fortran/omp_atomic2.f90: New test.
1357 2005-09-23 Jakub Jelinek <jakub@redhat.com>
1359 * testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do
1360 without !$omp end do, followed immediately by subroutine end.
1362 2005-09-23 Diego Novillo <dnovillo@redhat.com>
1364 * testsuite/libgomp.dg/omp-parallel-if.c: New test.
1366 2005-09-22 Richard Henderson <rth@redhat.com>
1368 * critical.c (GOMP_critical_name_start): Change argument to void**.
1369 Reuse the pointer space if the mutex fits.
1370 (GOMP_critical_name_end): Likewise.
1371 (initialize_critical): Don't define if GOMP_MUTEX_INIT_0.
1372 * libgomp_g.h (GOMP_critical_name_start): Update decl.
1373 (GOMP_critical_name_end): Likewise.
1374 * config/linux/mutex.h (GOMP_MUTEX_INIT_0): New.
1375 * config/posix/mutex.h (GOMP_MUTEX_INIT_0): New.
1377 2005-09-20 Richard Henderson <rth@redhat.com>
1379 * critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New.
1380 (create_lock_lock): New.
1381 (initialize_critical): Initialize it.
1382 * libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New.
1383 * libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare.
1385 2005-09-20 Diego Novillo <dnovillo@redhat.com>
1387 * testsuite/libgom.dg/omp-loop01.c: Include stdio.h.
1389 2005-09-20 Diego Novillo <dnovillo@redhat.com>
1391 * testsuite/libgomp.dg/omp-loop01.c: New test.
1392 * testsuite/libgomp.dg/omp-loop02.c: New test.
1394 2005-09-20 Jakub Jelinek <jakub@redhat.com>
1396 * configure.ac (AC_PROG_FC): Add.
1397 (USE_FORTRAN): New automake conditional.
1398 * configure: Rebuilt.
1399 * Makefile.am (libgomp_la_SOURCES): Add fortran.c.
1400 (nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h.
1401 If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod.
1402 Add rules to build them.
1403 * Makefile.in: Rebuilt.
1404 * mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and
1406 * libgomp.map: Add Fortran wrappers.
1407 * libgomp_f.h.in: New file.
1408 * omp_lib.h.in: New file.
1409 * omp_lib.f90.in: New file.
1410 * fortran.c: New file.
1411 * testsuite/lib/libgomp-dg.exp: Load a few more .exp files.
1412 Append libgfortran directory to LD_LIBRARY_PATH if it exists.
1413 Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if
1414 libgfortran has been built.
1415 * testsuite/libgomp.fortran/fortran.exp: New file.
1416 * testsuite/libgomp.fortran/omp_cond1.f: New test.
1417 * testsuite/libgomp.fortran/omp_cond2.f: New test.
1418 * testsuite/libgomp.fortran/omp_cond3.F90: New test.
1419 * testsuite/libgomp.fortran/omp_cond4.F90: New test.
1420 * testsuite/libgomp.fortran/omp_hello.f: New test.
1421 * testsuite/libgomp.fortran/omp_orphan.f: New test.
1422 * testsuite/libgomp.fortran/omp_parse1.f90: New test.
1423 * testsuite/libgomp.fortran/omp_parse2.f90: New test.
1424 * testsuite/libgomp.fortran/omp_parse3.f90: New test.
1425 * testsuite/libgomp.fortran/omp_parse4.f90: New test.
1426 * testsuite/libgomp.fortran/omp_reduction.f: New test.
1427 * testsuite/libgomp.fortran/omp_workshare1.f: New test.
1428 * testsuite/libgomp.fortran/omp_workshare2.f: New test.
1430 2005-08-30 Richard Henderson <rth@redhat.com>
1432 * loop.c (GOMP_loop_static_start): Provide fallback wrapper
1433 function for when aliases are not usable.
1434 (GOMP_loop_dynamic_start, GOMP_loop_guided_start,
1435 GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
1436 GOMP_loop_ordered_guided_start, GOMP_loop_static_next,
1437 GOMP_loop_dynamic_next, GOMP_loop_guided_next,
1438 GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next,
1439 GOMP_loop_ordered_guided_next): Likewise.
1440 * ordered.c (GOMP_ordered_start): Likewise.
1442 2005-08-01 Diego Novillo <dnovillo@redhat.com>
1444 * testsuite/libgomp.dg/dg.exp: Use -O2 for now.
1445 * testsuite/libgomp.dg/omp_hello.c: Fix return code
1446 * testsuite/libgomp.dg/omp_matvec.c: Likewise.
1447 * testsuite/libgomp.dg/omp_orphan.c: Likewise
1448 * testsuite/libgomp.dg/omp_reduction.c: Likewise
1449 * testsuite/libgomp.dg/omp_workshare1.c: Likewise
1450 * testsuite/libgomp.dg/omp_workshare2.c: Likewise
1451 * testsuite/libgomp.dg/omp_workshare3.c: Likewise
1452 * testsuite/libgomp.dg/omp_workshare4.c: Likewise
1454 2005-07-07 Eric Christopher <echristo@redhat.com>
1455 Diego Novillo <dnovillo@redhat.com>
1457 * testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS.
1458 * testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix
1460 * testsuite/libgomp.dg/omp_matvec.c: Ditto.
1461 * testsuite/libgomp.dg/omp_orphan.c: Ditto.
1462 * testsuite/libgomp.dg/omp_reduction.c: Ditto.
1463 * testsuite/libgomp.dg/omp_workshare1.c: Ditto.
1464 * testsuite/libgomp.dg/omp_workshare2.c: Ditto.
1465 * testsuite/libgomp.dg/omp_workshare3.c: Ditto.
1466 * testsuite/libgomp.dg/omp_workshare4.c: Ditto.
1468 2005-06-13 Diego Novillo <dnovillo@redhat.com>
1470 * TOPLEVEL.patch: Remove.
1472 2005-05-16 Richard Henderson <rth@redhat.com>
1474 * configure.ac: Test for clock_gettime.
1475 * config.h.in, configure: Rebuild.
1476 * config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern.
1477 (omp_get_wtime): Use clock_gettime if available.
1478 (omp_get_wtick): Use clock_getres if available.
1480 2005-05-11 Richard Henderson <rth@redhat.com>
1482 * config/linux/ia64/futex.h: New file.
1483 * configure.tgt: Use it.
1485 * team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline.
1487 2005-05-07 Richard Henderson <rth@redhat.com>
1489 * config/linux/powerpc/futex.h: New file.
1490 * configure.tgt: Use it.
1492 * config/linux/i486/futex.h: Merge ...
1493 * config/linux/x86_64/futex.h: ... into ...
1494 * config/linux/x86/futex.h: ... here.
1495 * configure.tgt: Update to match.
1497 2005-05-06 Richard Henderson <rth@redhat.com>
1499 * config/linux/alpha/futex.h: Conditionally define SYS_futex.
1500 * config/linux/i486/futex.h: Likewise.
1501 * config/linux/x86_64/futex.h: Likewise.
1503 * config/linux/lock.c: New file.
1504 * config/linux/omp-lock.h: New file.
1506 * critical.c, env.h: Don't include omp.h
1507 * config/posix/lock.c: Include libgomp.h instead of omp.h.
1508 * config/posix/time.c: Likewise.
1509 * config/posix/omp-lock.h: New file.
1510 * libgomp.h: Include omp-lock.h and omp.h.
1511 * Makefile.am (nodist_include_HEADERS): New.
1513 * configure.ac (PERL): New.
1514 * mkomp_h.pl: New file.
1515 * omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t
1517 * Makefile.in, configure, testsuite/Makefile.in: Rebuild.
1519 * testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into
1520 build directory. Re-add -march=i486 hack.
1522 * testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove.
1523 (libgomp_link_flags): Remove.
1524 (libgomp_initialized): Remove.
1525 (libgomp_init): Don't protect from reinitialization. Copy code
1526 from libstdc++ for getting the multilib set correctly.
1528 2005-05-05 Richard Henderson <rth@redhat.com>
1530 * config/linux/alpha/futex.h: New file.
1531 * configure.tgt (alpha*-*-linux*): Use it.
1533 * config/posix/mutex.c: New file.
1534 * config/posix/sem.c: Use libgomp.h.
1536 * configure.tgt (x86_64-linux): Also test CC for -m32.
1537 * config/linux/x86_64/futex.h (futex_wait): Fix r10 usage.
1539 * testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add /
1542 * Makefile.am (SUBDIRS): New.
1543 (libgomp_la_LDFLAGS): Add -lpthread.
1544 * configure.ac (AM_INIT_AUTOMAKE): Enable dependencies.
1545 * Makefile.in, aclocal.m4, config.h.in, configure: Rebuild.
1547 * libgomp_g.h: New file.
1548 * libgomp.h: Split out all public declarations to libgomp_g.h.
1549 Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN.
1550 * config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN.
1551 * config/linux/sem.h: Likewise.
1552 * config/posix/sem.h: Likewise.
1554 * Makefile.am (AM_LDFLAGS): New.
1555 (libgomp_version_script): Split out from ...
1556 (libgomp_la_LDFLAGS): ... here.
1557 (libgomp_version_info): New.
1558 * acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE.
1559 (LIBGOMP_ENABLE): New.
1560 (LIBGOMP_CHECK_LINKER_FEATURES): New.
1561 (LIBGOMP_ENABLE_SYMVERS): New.
1562 * configure.ac (AC_INIT): Version 1.0.
1563 (enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE.
1564 (enable-linux-futex): Likewise. Rename from enable-futex.
1565 (libtool_VERSION): New.
1566 (LIBGOMP_ENABLE_SYMVERS): Use it.
1567 * configure.tgt: Check with_gnu_ld wrt have_tls optimizations.
1568 * Makefile.in, aclocal.m4, configure: Rebuild.
1570 * config/linux/mutex.c: Include libgomp.h instead of mutex.h.
1571 (gomp_mutex_unlock_slow): Fix typo.
1572 * config/linux/sem.c: Similarly.
1573 (gomp_sem_post_slow): Fix typo.
1574 * config/linux/sem.h (gomp_sem_post_slow): Fix typo.
1575 * config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code.
1576 [__PIC__] (sys_futex0): Don't use tmp output in asm.
1578 * Makefile.am (AM_CFLAGS): Expand with XCFLAGS.
1579 (libgomp_la_LDFLAGS): Add top_srcdir to path.
1580 * acinclude.m4: Copy libtool.m4 stuff from libgfortran.
1581 * configure.ac: Check for getloadavg. Substitute XCFLAGS and
1582 XLDFLAGS. Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS.
1583 * configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and
1584 LDFLAGS. Pull enable_futex check to top-level.
1585 * libgomp.h: Fix sem.h and mutex.h includes. Define ATTRIBUTE_HIDDEN.
1586 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1588 First attempt at real configury.
1589 * Makefile, config.h: Remove file.
1590 * Makefile.am, Makefile.in: New file.
1591 * acinclude.m4 aclocal.m4: New file.
1592 * configure.ac, configure.tgt, configure: New file.
1594 * config/posix/lock.c: Rename from sys-lock.c.
1595 * config/posix/mutex.h: Rename from sys-mutex.h.
1596 * config/posix/sem.c: Rename from sys-sem.c.
1597 * config/posix/sem.h: Rename from sys-sem.h.
1598 * config/posix/proc.c: Rename from sys-proc.c.
1599 * config/posix/time.c: Rename from sys-proc.c.
1601 * config/linux/mutex.c: New file.
1602 * config/linux/mutex.h: New file.
1603 * config/linux/sem.c: New file.
1604 * config/linux/sem.h: New file.
1605 * config/linux/i486/futex.h: New file.
1606 * config/linux/x86_64/futex.h: New file.
1608 2005-05-04 Richard Henderson <rth@redhat.com>
1610 * iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New.
1611 * libgomp.h: Declare them.
1612 * loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start,
1613 gomp_loop_dynamic_next, gomp_loop_guided_next): Use them.
1615 2005-05-04 Richard Henderson <rth@redhat.com>
1617 * libgomp-1 code drop
1619 2005-05-04 Richard Henderson <rth@redhat.com>
1621 * iter.c (gomp_iter_static_next): Return tri-state on 0.
1622 * ordered.c (gomp_ordered_static_next): Remove not_last argument.
1623 * libgomp.h (struct gomp_team_state): Make static_trip unsigned.
1624 (gomp_iter_static_next): Update.
1625 (gomp_ordered_static_next): Update.
1626 * loop.c (gomp_loop_static_start): Update for gomp_iter_static_next.
1627 (gomp_loop_ordered_static_start): Likewise. Exit early for a
1628 totally empty range.
1629 (gomp_loop_ordered_static_next): Refine test for calling
1630 gomp_ordered_static_next.
1631 * testsuite/ordered-1.c: Add case for more threads than iterations.
1633 * iter.c (gomp_iter_runtime_next_locked): Remove.
1634 * loop.c (gomp_loop_static_start, gomp_loop_dynamic_start,
1635 gomp_loop_guided_start, gomp_loop_ordered_static_start,
1636 gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start,
1637 gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next,
1638 gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next,
1639 gomp_loop_ordered_guided_next): Downcase name, make static, add
1640 an external alias with the old name.
1641 (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start,
1642 GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a
1643 switch and call one of the above static functions.
1644 * libgomp.h: Update.
1646 * work.c (gomp_work_share_start): Lock the mutex for !first too.
1647 * loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start,
1648 GOMP_loop_guided_start, GOMP_loop_runtime_start,
1649 GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
1650 GOMP_loop_ordered_guided_start): Update to match.
1651 * sections.c (GOMP_sections_start): Likewise.
1652 * single.c (GOMP_single_start, GOMP_single_copy_start): Likewise.
1654 * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
1655 gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//.
1656 Use bounds check instead of modulus.
1657 (gomp_ordered_sync): Split out of GOMP_ordered_start.
1658 (gomp_ordered_last): Don't sync with ordered_owner here.
1659 (gomp_ordered_next): Likewise.
1660 (gomp_ordered_static_loop_next): Likewise.
1661 * loop.c, libgomp.h: Update to match.
1663 * libgomp.h (GOMP_barrier): Declare.
1665 * testsuite/barrier-1.c: New file.
1666 * testsuite/critical-1.c: New file.
1667 * testsuite/ordered-2.c: New file.
1668 * testsuite/ordered-1.c: New file.
1669 * testsuite/sections-1.c: New file.
1670 * testsuite/single-1.c: New file.
1671 * testsuite/Makefile (TESTS): Add them.
1673 2005-05-04 Richard Henderson <rth@redhat.com>
1675 * libgomp.h (struct gomp_work_share): Add ordered_owner.
1676 * loop.c (GOMP_loop_static_start): If not the startup thread,
1677 acquire the mutex to wait for initialization complete.
1678 (GOMP_loop_ordered_static_start): Likewise.
1679 (GOMP_loop_ordered_runtime_start): Likewise.
1680 (GOMP_loop_ordered_static_first): Remove.
1681 (GOMP_loop_ordered_dynamic_first): Remove.
1682 (GOMP_loop_ordered_guided_first): Remove.
1683 (GOMP_loop_ordered_runtime_first): Remove.
1684 * ordered.c (gomp_ordered_loop_first): Post to own release when
1685 we're the first thread.
1686 (gomp_ordered_loop_last): Wait on release if not owner.
1687 (gomp_ordered_loop_next): Likewise.
1688 (gomp_ordered_static_loop_init): New.
1689 (gomp_ordered_static_loop_next): Use ordered_owner.
1690 (GOMP_ordered_start): Likewise.
1691 * work.c (gomp_new_work_share): Initialize ordered_owner.
1693 2005-05-03 Richard Henderson <rth@redhat.com>
1695 * Makefile (OPT): New.
1698 * loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New.
1699 * sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New.
1700 * libgomp.h, libgomp.map, NOTES: Update to match.
1702 * team.c (struct gomp_thread_start_data): Remove ts, fn, data.
1703 Add initialized and thr members.
1704 (gomp_thread_start): Pause when initially spawned to wait for
1705 the whole team to be created.
1706 (gomp_team_start): Release team members at the end.
1708 * testsuite/loop-1.c (N): New. Use it instead of hardcoded 100.
1709 (f_foo_1): Use GOMP_loop_end.
1710 (f_foo_2): Use GOMP_loop_end_nowait.
1712 * testsuite/loop-2.c: New file.
1713 * testsuite/Makefile (TESTS): Add it.
1715 2005-05-03 Richard Henderson <rth@redhat.com>
1717 * iter.c (gomp_iter_static_next): Fix overflow check typo.
1718 (gomp_iter_dynamic_next_locked): Fix overflow check thinko.
1719 * team.c (new_team): Initialize oldest_live_gen to 1 if no
1722 * testsuite/Makefile: New file.
1723 * testsuite/loop-1.c: New file.
1725 2005-05-03 Richard Henderson <rth@redhat.com>
1727 Initial implementation and checkin.