1 2009-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4 * configure.ac: Set FC to "no" if $GFORTRAN starts with "no"
5 or a hyphen (happens with fortran language disabled).
6 * configure: Regenerate.
8 2009-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10 * acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid 'head',
11 use sed script portable to Solaris /bin/sed for extracting ld
13 * configure: Regenerate.
15 2009-09-17 Alexander Monakov <amonakov@ispras.ru>
17 * testsuite/libgomp.graphite/bounds.c: New test.
19 2009-09-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
21 * Makefile.am (libgomp_la_LINK): New.
22 * Makefile.in: Regenerate.
24 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
26 * configure.ac (AC_PREREQ): Bump to 2.64.
28 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
30 * Makefile.am (install-html, install-pdf): Remove.
31 * Makefile.in: Regenerate.
33 * Makefile.in: Regenerate.
34 * aclocal.m4: Regenerate.
35 * config.h.in: Regenerate.
36 * configure: Regenerate.
37 * testsuite/Makefile.in: Regenerate.
39 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
41 * Makefile.am (LINK): Add $(AM_LIBTOOLFLAGS) and $(LIBTOOLFLAGS).
42 * Makefile.in: Regenerate.
44 2009-08-20 Dave Korn <dave.korn.cygwin@gmail.com>
46 * Makefile.am (libgomp_la_LDFLAGS): Add -bindir flag.
47 * Makefile.in: Regenerate.
49 2009-08-19 Tobias Burnus <burnus@net-b.de>
52 omp_lib.h.in: Fix -std=f95 errors.
55 2009-08-14 David Edelsohn <edelsohn@gnu.org>
57 * testsuite/libgomp.graphite: Move from gcc.dg/graphite.
58 * testsuite/libgomp.graphite/graphite_autopar.exp: Delete.
59 * testsuite/libgomp.graphite/graphite.exp: New.
61 2009-08-05 Andreas Tobler <a.tobler@schweiz.org>
63 * testsuite/libgomp.fortran/fortran.exp: Add flags in case of shared
66 2009-08-04 David Daney <ddaney@caviumnetworks.com>
68 * config/linux/mutex.h (gomp_mutex_unlock): Add comment about
69 needed memory barrier semantics.
70 * config/linux/mips/mutex.h: New file.
72 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
74 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
76 2009-07-16 Joseph Myers <joseph@codesourcery.com>
78 * configure: Regenerate.
80 2009-07-11 Richard Sandiford <rdsandiford@googlemail.com>
85 * testsuite/lib/libgomp.exp: Revert 2009-07-02 and 2009-06-30 commits.
86 * testsuite/libgomp.c/c.exp, testsuite/libgomp.c++/c++.exp,
87 testsuite/libgomp.fortran/fortran.exp: Revert 2009-06-30 commits.
89 2009-07-02 Richard Sandiford <r.sandiford@uk.ibm.com>
91 * testsuite/lib/libgomp.exp (libgomp_init): Use the ALWAYS_CFLAGS
92 options when choosing a multilib.
94 2009-06-30 Richard Sandiford <r.sandiford@uk.ibm.com>
96 * testsuite/lib/libgomp.exp (libgomp_init): Don't add "." to
97 ld_library_path. Use add_path. Add just find_libgcc_s to
98 ld_library_path, not every libgcc multilib directory.
99 * testsuite/libgomp.c/c.exp (ld_library_path): Don't call
100 gcc-set-multilib-library-path; rely on $always_ld_library_path instead.
101 * testsuite/libgomp.c++/c++.exp (ld_library_path): Likewise.
103 * testsuite/libgomp.fortran/fortran.exp (ld_library_path): Likewise.
105 2009-06-09 Nathan Froyd <froydnj@codesourcery.com>
107 * Makefile.am (LTLDFLAGS): Define.
109 * Makefile.in: Regenerate.
111 2009-05-27 Janne Blomqvist <jb@gcc.gnu.org>
114 * testsuite/libgomp.fortran/fortran.exp: Don't link with
115 libgfortranbegin, check existence of libgfortran.a instead of
118 2009-05-20 Jakub Jelinek <jakub@redhat.com>
121 * team.c (gomp_thread_start): Destroy thr->release semaphore.
122 (gomp_free_pool_helper): Likewise.
124 2009-04-20 Vasilis Liaskovitis <vliaskov@gmail.com>
125 Jakub Jelinek <jakub@redhat.com>
128 * testsuite/libgomp.fortran/workshare2.f90: New test.
130 2009-04-09 Nick Clifton <nickc@redhat.com>
132 * iter.c: Change copyright header to refer to version 3 of the
133 GNU General Public License with version 3.1 of the GCC Runtime
134 Library Exception and to point readers at the COPYING3 and
135 COPYING3.RUNTIME files and the FSF's license web page.
137 * barrier.c: Likewise.
138 * config/bsd/proc.c: Likewise.
139 * config/linux/affinity.c: Likewise.
140 * config/linux/alpha/futex.h: Likewise.
141 * config/linux/bar.c: Likewise.
142 * config/linux/bar.h: Likewise.
143 * config/linux/ia64/futex.h: Likewise.
144 * config/linux/ia64/mutex.h: Likewise.
145 * config/linux/lock.c: Likewise.
146 * config/linux/mips/futex.h: Likewise.
147 * config/linux/mutex.c: Likewise.
148 * config/linux/mutex.h: Likewise.
149 * config/linux/powerpc/futex.h: Likewise.
150 * config/linux/proc.c: Likewise.
151 * config/linux/ptrlock.c: Likewise.
152 * config/linux/ptrlock.h: Likewise.
153 * config/linux/s390/futex.h: Likewise.
154 * config/linux/sem.c: Likewise.
155 * config/linux/sem.h: Likewise.
156 * config/linux/sparc/futex.h: Likewise.
157 * config/linux/wait.h: Likewise.
158 * config/linux/x86/futex.h: Likewise.
159 * config/mingw32/proc.c: Likewise.
160 * config/mingw32/time.c: Likewise.
161 * config/posix/affinity.c: Likewise.
162 * config/posix/bar.c: Likewise.
163 * config/posix/bar.h: Likewise.
164 * config/posix/lock.c: Likewise.
165 * config/posix/mutex.h: Likewise.
166 * config/posix/proc.c: Likewise.
167 * config/posix/ptrlock.h: Likewise.
168 * config/posix/sem.c: Likewise.
169 * config/posix/sem.h: Likewise.
170 * config/posix/time.c: Likewise.
171 * config/posix95/lock.c: Likewise.
172 * critical.c: Likewise.
175 * fortran.c: Likewise.
176 * iter_ull.c: Likewise.
177 * libgomp.h: Likewise.
178 * libgomp_f.h.in: Likewise.
179 * libgomp_g.h: Likewise.
181 * loop_ull.c: Likewise.
182 * omp.h.in: Likewise.
183 * omp_lib.f90.in: Likewise.
184 * omp_lib.h.in: Likewise.
185 * ordered.c: Likewise.
186 * parallel.c: Likewise.
187 * sections.c: Likewise.
188 * single.c: Likewise.
193 2009-04-09 Jakub Jelinek <jakub@redhat.com>
195 * testsuite/config/default.exp: Change copyright header to refer to
196 version 3 of the GNU General Public License and to point readers
197 at the COPYING3 file and the FSF's license web page.
199 2009-04-08 Jakub Jelinek <jakub@redhat.com>
202 * libgomp.c++/pr39573.C: New test.
204 2009-04-01 Jakub Jelinek <jakub@redhat.com>
207 * testsuite/libgomp.c/pr39591-1.c: New test.
208 * testsuite/libgomp.c/pr39591-2.c: New test.
209 * testsuite/libgomp.c/pr39591-3.c: New test.
211 2009-03-25 Uros Bizjak <ubizjak@gmail.com>
213 * testsuite/libgomp.c/atomic-5.c: Cleanup cpuid usage.
214 * testsuite/libgomp.c/atomic-6.c: Ditto.
216 2009-03-23 Jakub Jelinek <jakub@redhat.com>
219 * testsuite/libgomp.c/loop-12.c: New test.
220 * testsuite/libgomp.c/loop-11.c: New test.
221 * testsuite/libgomp.c++/loop-11.C: New test.
222 * testsuite/libgomp.c++/loop-12.C: New test.
223 * testsuite/libgomp.c++/for-8.C: New test.
225 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
227 * configure: Regenerate.
229 2009-02-11 Jakub Jelinek <jakub@redhat.com>
232 * testsuite/libgomp.c/pr39154.c: New test.
234 2009-01-30 Ian Lance Taylor <iant@google.com>
236 * acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set
237 libgomp_ld_is_gold. Get gold version number.
238 (LIBGOMP_ENABLE_SYMVERS): Gold always support symbol versioning.
239 * configure: Rebuild.
241 2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
243 * testsuite/lib/libgomp.exp: Add -B option for targets that
244 use libgfortran.a%s in their specs.
246 2009-01-07 Jakub Jelinek <jakub@redhat.com>
249 * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New check.
250 * libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undefine if
251 HAVE_AS_SYMVER_DIRECTIVE is not defined.
252 * configure: Regenerated.
253 * config.h.in: Likewise.
255 2008-12-28 Jakub Jelinek <jakub@redhat.com>
258 * testsuite/libgomp.c/pr38650.c: New test.
259 * testsuite/libgomp.c++/pr38650.C: New test.
261 2008-12-27 Jakub Jelinek <jakub@redhat.com>
263 * testsuite/libgomp.c/collapse-1.c (main): Add private(k) clause.
265 2008-12-26 Uros Bizjak <ubizjak@gmail.com>
267 * testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets.
269 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
271 * configure: Regenerate.
273 2008-12-08 Jakub Jelinek <jakub@redhat.com>
276 * testsuite/libgomp.c/pr36802-1.c: New test.
277 * testsuite/libgomp.c/pr36802-2.c: New test.
278 * testsuite/libgomp.c/pr36802-3.c: New test.
280 2008-12-01 Janis Johnson <janis187@us.ibm.com>
283 * config/linux/powerpc/mutex.h: New.
285 2008-12-01 Jakub Jelinek <jakub@redhat.com>
288 * testsuite/libgomp.c++/for-7.C: New test.
291 * testsuite/libgomp.c++/for-6.C: New test.
293 2008-11-26 Janis Johnson <janis187@us.ibm.com>
296 * testsuite/lib/libgomp.exp: Include new timeout library files.
297 (libgomp_target_compile): Set timeout value from new proc.
299 2008-11-13 Steve Ellcey <sje@cup.hp.com>
302 * config/linux/ia64/mutex.h: New.
304 2008-11-04 Tobias Burnus <burnus@net-b.de>
307 * libgomp.texi (Runtime library routines, environment variables):
308 Update for OpenMP version 3.0.
310 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
311 Steve Ellcey <sje@cup.hp.com>
313 * configure: Regenerate for new libtool.
314 * Makefile.in: Ditto.
315 * testsuite/Makefile.in: Ditto.
317 2008-09-19 Jakub Jelinek <jakub@redhat.com>
318 Andreas Tobler <a.tobler@schweiz.org>
320 * config/bsd/proc.c: New file.
321 * configure.tgt (*-*-darwin*): Use config_path "bsd posix".
322 * configure.ac: Check for header <sys/sysctl.h>
323 * configure: Regenerate.
324 * config.h.in: Likewise.
326 2008-09-05 Janis Johnson <janis187@us.ibm.com>
328 * testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists.
330 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
332 * Makefile.am (libgomp_la_LDFLAGS): Add -no-undefined.
333 * Makefile.in: Regenerated.
334 * testsuite/Makefile.in: Regenerated.
336 2008-08-21 Nathan Froyd <froydnj@codesourcery.com>
338 * testsuite/lib/libgomp.exp (libgomp_init): Only set things that
339 depend on blddir if blddir exists.
340 (libgomp_target_compile): Likewise.
341 * testsuite/libgomp.c++/c++.exp: Likewise.
342 * testsuite/libgomp.fortran/fortran.exp: Likewise.
344 2008-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
346 * libgomp.texi: Update to GFDL 1.2. Update copyright years.
347 Do not list GPL as Invariant Section.
349 2008-07-28 Ilie Garbacea <ilie@mips.com>
350 Chao-ying Fu <fu@mips.com>
352 * configure.tgt: Enable futex for MIPS.
353 * config/linux/mips/futex.h: New file.
355 2008-07-16 Jakub Jelinek <jakub@redhat.com>
357 * team.c (gomp_team_end): Free team immediately if it has
360 2008-07-08 David Edelsohn <edelsohn@gnu.org>
362 * testsuite/libgomp.c++/c++.exp: Append multilib library path.
363 * testsuite/libgomp.fortran/fortran.exp: Same.
364 * testsuite/libgomp.c/c.exp: Same.
365 * testsuite/lib/libgomp.exp: Append AIX libgcc pthread multilib
366 directory to library path first.
368 2008-06-29 Krister Walfridsson <krister.walfridsson@gmail.com>
370 * env.c (parse_stacksize): Add cast to avoid warning.
371 (parse_spincount): Likewise.
373 2008-06-27 Jakub Jelinek <jakub@redhat.com>
375 * testsuite/libgomp.c/loop-10.c: New test.
376 * libgomp.c/loop-3.c (main): Add lastprivate clause.
377 * libgomp.c++/loop-6.C (main): Likewise.
380 * testsuite/libgomp.c/debug-1.c: New test.
382 2008-06-19 Jakub Jelinek <jakub@redhat.com>
384 * testsuite/libgomp.c/nqueens-1.c: New test.
387 * testsuite/libgomp.c++/task-7.C: New function.
389 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
391 * configure: Regenerate.
393 2008-06-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
395 * env.c (initialize_env): Always initialize gomp_remaining_threads_lock
396 mutex when HAVE_SYNC_BUILTINS isn't defined.
398 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
400 * libgomp.texi (omp_test_lock): Fix typo.
402 2008-06-12 Tobias Burnus <burnus@net-b.de>
404 * omp_lib.f90.in: Add "implicit none".
406 2008-06-12 Jakub Jelinek <jakub@redhat.com>
409 * testsuite/libgomp.c/reduction-5.c: New test.
411 2008-06-11 Jakub Jelinek <jakub@redhat.com>
413 * libgomp.h (struct gomp_task): Add in_tied_task field.
414 * task.c (gomp_init_task): Initialize it.
415 (GOMP_task): Likewise. Call gomp_team_barrier_set_task_pending
416 unconditionally. Don't call gomp_team_barrier_wake if
417 current task is implicit or if(0) from implicit and number of
418 running tasks is equal to nthreads - 1.
421 * omp_lib.f90.in (omp_get_ancestor_thread_num_8,
422 omp_get_team_size_8): Fix pastos.
425 * configure.ac: Add AC_CHECK_FUNCS (strtoull).
426 * configure: Regenerated.
427 * config.h.in: Regenerated.
428 * env.c (strtoull): Define to strtoul if HAVE_STRTOULL is not
431 2008-06-06 Andreas Tobler <a.tobler@schweiz.org>
434 * loop_ull.c (GOMP_loop_ull_static_start): Adjust API.
435 (GOMP_loop_ull_dynamic_start): Likewise.
436 (GOMP_loop_ull_guided_start): Likewise.
437 (GOMP_loop_ull_ordered_static_start): Likewise.
438 (GOMP_loop_ull_ordered_dynamic_start): Likewise.
439 (GOMP_loop_ull_ordered_guided_start): Likewise.
441 2008-06-06 Jakub Jelinek <jakub@redhat.com>
442 Richard Henderson <rth@redhat.com>
443 Ulrich Drepper <drepper@redhat.com>
444 Jakob Blomer <jakob.blomer@ira.uka.de>
446 * configure.ac (LIBGOMP_GNU_SYMBOL_VERSIONING): New AC_DEFINE.
447 Substitute also OMP_*LOCK_25*.
448 * configure: Regenerated.
449 * config.h.in: Regenerated.
450 * Makefile.am (libgomp_la_SOURCES): Add loop_ull.c, iter_ull.c,
451 ptrlock.c and task.c.
452 * Makefile.in: Regenerated.
453 * testsuite/Makefile.in: Regenerated.
455 * loop_ull.c: New file.
456 * iter_ull.c: New file.
457 * libgomp.h: Include ptrlock.h.
458 (enum gomp_task_kind): New type.
459 (struct gomp_team): Add task_lock, task_queue, task_count,
460 task_running_count, single_count fields. Add
461 work_share_list_free_lock ifndef HAVE_SYNC_BUILTINS.
462 Remove work_share_lock, generation_mask,
463 oldest_live_gen, num_live_gen and init_work_shares fields, add
464 work work_share_list_alloc, work_share_list_free and work_share_chunk
465 fields. Change work_shares from pointer to pointers into an array.
466 Change ordered_release field into gomp_sem_t ** from flexible array
467 member. Add implicit_task and initial_work_shares fields.
468 Move close to the end of the struct.
469 (struct gomp_team_state): Add single_count, last_work_share,
470 active_level and level fields, remove work_share_generation.
471 (gomp_barrier_handle_tasks): New prototype.
472 (gomp_finish_task): New inline function.
473 (struct gomp_work_share): Move chunk_size, end, incr into
474 transparent union/struct, add chunk_size_ull, end_ll, incr_ll and
475 next_ll fields. Reshuffle fields. Add next_alloc,
476 next_ws, next_free and inline_ordered_team_ids fields, change
477 ordered_team_ids into pointer from flexible array member.
478 Add mode field. Put lock and next into a different cache line
479 from most of the write-once fields.
480 (gomp_iter_ull_static_next, gomp_iter_ull_dynamic_next_locked,
481 gomp_iter_ull_guided_next_locked, gomp_iter_ull_dynamic_next,
482 gomp_iter_ull_guided_next): New prototypes.
483 (gomp_new_icv): New prototype.
484 (struct gomp_thread): Add thread_pool and task fields.
485 (struct gomp_thread_pool): New type.
486 (gomp_new_team): New prototype.
487 (gomp_team_start): Change type of last argument.
488 (gomp_new_work_share): Removed.
489 (gomp_init_work_share, gomp_fini_work_share): New prototypes.
490 (gomp_work_share_init_done): New static inline.
491 (gomp_throttled_spin_count_var, gomp_available_cpus,
492 gomp_managed_threads): New extern decls.
493 (gomp_init_task): New prototype.
494 (gomp_spin_count_var): New extern var decl.
495 (LIBGOMP_GNU_SYMBOL_VERSIONING): Undef if no visibility
496 or no alias support, or if not PIC.
497 (gomp_init_lock_30, gomp_destroy_lock_30, gomp_set_lock_30,
498 gomp_unset_lock_30, gomp_test_lock_30, gomp_init_nest_lock_30,
499 gomp_destroy_nest_lock_30, gomp_set_nest_lock_30,
500 gomp_unset_nest_lock_30, gomp_test_nest_lock_30, gomp_init_lock_25,
501 gomp_destroy_lock_25, gomp_set_lock_25, gomp_unset_lock_25,
502 gomp_test_lock_25, gomp_init_nest_lock_25, gomp_destroy_nest_lock_25,
503 gomp_set_nest_lock_25, gomp_unset_nest_lock_25,
504 gomp_test_nest_lock_25): New prototypes.
505 (omp_lock_symver, strong_alias): Define.
506 (gomp_remaining_threads_count, gomp_remaining_threads_lock): New
508 (gomp_end_task): New.
509 (struct gomp_task_icv, gomp_global_icv): New.
510 (gomp_thread_limit_var, gomp_max_active_levels_var): New.
511 (struct gomp_task): New.
512 (gomp_nthreads_var, gomp_dyn_var, gomp_nest_var,
513 gomp_run_sched_var, gomp_run_sched_chunk): Remove.
515 (gomp_schedule_type): Reorder enum to match
517 * team.c (struct gomp_thread_start_data): Add thread_pool and task
519 (gomp_thread_start): Add gomp_team_barrier_wait call.
520 For non-nested case remove clearing of docked thread thr fields.
521 Use pool fields instead of global gomp_* variables. Use
522 gomp_barrier_wait_last when needed. Initialize ts.active_level.
523 Create tasks for each member thread.
524 (free_team): Only destroy team barrier, task_lock here and free it.
525 (gomp_free_thread): Free last_team if non-NULL.
526 (gomp_team_end): Call gomp_team_barrier_wait instead of
527 gomp_barrier_wait. For nested case call one extra
528 gomp_barrier_wait. Move here some destruction from free_team.
529 Call free_team on pool->last_team if any, rather than freeing
530 current team. Destroy work_share_list_free_lock ifndef
532 (gomp_new_icv): New function.
533 (gomp_threads, gomp_threads_size, gomp_threads_used,
534 gomp_threads_dock): Removed.
535 (gomp_thread_destructor): New variable.
536 (gomp_new_thread_pool, gomp_free_pool_helper, gomp_free_thread): New
538 (gomp_team_start): Create new pool if current thread doesn't have
539 one. Use pool fields instead of global gomp_* variables.
540 Initialize thread_pool field for new threads. Clear single_count.
541 Change last argument from ws to team, don't create
542 new team, set ts.work_share to &team->work_shares[0] and clear
543 ts.last_work_share. Don't clear ts.work_share_generation.
544 If number of threads changed, adjust atomically gomp_managed_threads.
545 Use gomp_init_task instead of gomp_new_task,
546 set thr->task to the corresponding implicit_task array entry.
547 Create tasks for each member thread. Initialize ts.level.
548 (initialize_team): Call pthread_key_create on
549 gomp_thread_destructor.
550 (team_destructor): New function.
552 (gomp_new_team): New function.
553 (free_team): Free gomp_work_share blocks chained through next_alloc,
554 instead of freeing work_shares and destroying work_share_lock.
555 (gomp_team_end): Call gomp_fini_work_share. If number of threads
556 changed, adjust atomically gomp_managed_threads. Use gomp_end_task.
557 * barrier.c (GOMP_barrier): Call gomp_team_barrier_wait instead
558 of gomp_barrier_wait.
559 * single.c (GOMP_single_copy_start): Call gomp_team_barrier_wait
560 instead of gomp_barrier_wait. Call gomp_work_share_init_done
561 if gomp_work_share_start returned true. Don't unlock ws->lock.
562 (GOMP_single_copy_end): Call gomp_team_barrier_wait instead
563 of gomp_barrier_wait.
564 (GOMP_single_start): Rewritten if HAVE_SYNC_BUILTINS. Call
565 gomp_work_share_init_done if gomp_work_share_start returned true.
566 Don't unlock ws->lock.
567 * work.c: Include stddef.h.
568 (free_work_share): Use work_share_list_free_lock instead
569 of atomic chaining ifndef HAVE_SYNC_BUILTINS. Add team argument.
570 Call gomp_fini_work_share and then either free ws if orphaned, or
571 put it into work_share_list_free list of the current team.
572 (alloc_work_share, gomp_init_work_share, gomp_fini_work_share): New
574 (gomp_work_share_start, gomp_work_share_end,
575 gomp_work_share_end_nowait): Rewritten.
576 * omp_lib.f90.in Change some tabs to spaces to prevent warnings.
577 (openmp_version): Set to 200805.
578 (omp_sched_kind, omp_sched_static, omp_sched_dynamic,
579 omp_sched_guided, omp_sched_auto): New parameters.
580 (omp_set_schedule, omp_get_schedule, omp_get_thread_limit,
581 omp_set_max_active_levels, omp_get_max_active_levels,
582 omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size,
583 omp_get_active_level): New interfaces.
584 * omp_lib.h.in (openmp_version): Set to 200805.
585 (omp_sched_kind, omp_sched_static, omp_sched_dynamic,
586 omp_sched_guided, omp_sched_auto): New parameters.
587 (omp_set_schedule, omp_get_schedule, omp_get_thread_limit,
588 omp_set_max_active_levels, omp_get_max_active_levels,
589 omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size,
590 omp_get_active_level): New externals.
591 * loop.c: Include limits.h.
592 (GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Handle
594 (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start):
595 Likewise. Use gomp_icv.
596 (gomp_loop_static_start, gomp_loop_dynamic_start): Clear
598 (gomp_loop_static_start, gomp_loop_ordered_static_start): Call
599 gomp_work_share_init_done after gomp_loop_init. Don't unlock ws->lock.
600 (gomp_loop_dynamic_start, gomp_loop_guided_start): Call
601 gomp_work_share_init_done after gomp_loop_init. If HAVE_SYNC_BUILTINS,
602 don't unlock ws->lock, otherwise lock it.
603 (gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start): Call
604 gomp_work_share_init_done after gomp_loop_init. Lock ws->lock.
605 (gomp_parallel_loop_start): Call gomp_new_team instead of
606 gomp_new_work_share. Call gomp_loop_init on &team->work_shares[0].
607 Adjust gomp_team_start caller. Pass 0 as second argument to
608 gomp_resolve_num_threads.
609 (gomp_loop_init): For GFS_DYNAMIC, multiply ws->chunk_size by incr.
610 If adding ws->chunk_size nthreads + 1 times after end won't
611 overflow, set ws->mode to 1.
612 * libgomp_g.h (GOMP_loop_ull_static_start, GOMP_loop_ull_dynamic_start,
613 GOMP_loop_ull_guided_start, GOMP_loop_ull_runtime_start,
614 GOMP_loop_ull_ordered_static_start,
615 GOMP_loop_ull_ordered_dynamic_start,
616 GOMP_loop_ull_ordered_guided_start,
617 GOMP_loop_ull_ordered_runtime_start, GOMP_loop_ull_static_next,
618 GOMP_loop_ull_dynamic_next, GOMP_loop_ull_guided_next,
619 GOMP_loop_ull_runtime_next, GOMP_loop_ull_ordered_static_next,
620 GOMP_loop_ull_ordered_dynamic_next, GOMP_loop_ull_ordered_guided_next,
621 GOMP_loop_ull_ordered_runtime_next, GOMP_task, GOMP_taskwait): New
623 * libgomp.map: Export lock routines also @@OMP_2.0.
624 (GOMP_loop_ordered_dynamic_first,
625 GOMP_loop_ordered_guided_first, GOMP_loop_ordered_runtime_first,
626 GOMP_loop_ordered_static_first): Remove.
627 (GOMP_loop_ull_dynamic_next, GOMP_loop_ull_dynamic_start,
628 GOMP_loop_ull_guided_next, GOMP_loop_ull_guided_start,
629 GOMP_loop_ull_ordered_dynamic_next,
630 GOMP_loop_ull_ordered_dynamic_start,
631 GOMP_loop_ull_ordered_guided_next,
632 GOMP_loop_ull_ordered_guided_start,
633 GOMP_loop_ull_ordered_runtime_next,
634 GOMP_loop_ull_ordered_runtime_start,
635 GOMP_loop_ull_ordered_static_next,
636 GOMP_loop_ull_ordered_static_start,
637 GOMP_loop_ull_runtime_next, GOMP_loop_ull_runtime_start,
638 GOMP_loop_ull_static_next, GOMP_loop_ull_static_start,
639 GOMP_task, GOMP_taskwait): Export @@GOMP_2.0.
640 (omp_set_schedule, omp_get_schedule,
641 omp_get_thread_limit, omp_set_max_active_levels,
642 omp_get_max_active_levels, omp_get_level,
643 omp_get_ancestor_thread_num, omp_get_team_size, omp_get_active_level,
644 omp_set_schedule_, omp_set_schedule_8_,
645 omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_,
646 omp_set_max_active_levels_, omp_set_max_active_levels_8_,
647 omp_get_max_active_levels_, omp_get_level_,
648 omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_,
649 omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_):
650 New exports @@OMP_3.0.
651 * omp.h.in (omp_sched_t): New type.
652 (omp_set_schedule, omp_get_schedule, omp_get_thread_limit,
653 omp_set_max_active_levels, omp_get_max_active_levels,
654 omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size,
655 omp_get_active_level): New prototypes.
656 * env.c (gomp_spin_count_var, gomp_throttled_spin_count_var,
657 gomp_available_cpus, gomp_managed_threads, gomp_max_active_levels_var,
658 gomp_thread_limit_var, gomp_remaining_threads_count,
659 gomp_remaining_threads_lock): New variables.
660 (parse_spincount): New function.
661 (initialize_env): Call gomp_init_num_threads unconditionally.
662 Initialize gomp_available_cpus. Call parse_spincount,
663 initialize gomp_{,throttled_}spin_count_var
664 depending on presence and value of OMP_WAIT_POLICY and
665 GOMP_SPINCOUNT env vars. Handle GOMP_BLOCKTIME env var.
666 Handle OMP_WAIT_POLICY, OMP_MAX_ACTIVE_LEVELS,
667 OMP_THREAD_LIMIT, OMP_STACKSIZE env vars. Handle unit specification
668 for GOMP_STACKSIZE. Initialize gomp_remaining_threads_count and
669 gomp_remaining_threads_lock if needed. Use gomp_global_icv.
670 (gomp_nthreads_var, gomp_dyn_var, gomp_nest_var,
671 gomp_run_sched_var, gomp_run_sched_chunk): Remove.
672 (gomp_global_icv): New.
673 (parse_schedule): Use it. Parse "auto".
674 (omp_set_num_threads): Use gomp_icv.
675 (omp_set_dynamic, omp_get_dynamic, omp_set_nested, omp_get_nested):
677 (omp_get_max_threads): Move from parallel.c.
678 (omp_set_schedule, omp_get_schedule, omp_get_thread_limit,
679 omp_set_max_active_levels, omp_get_max_active_levels): New functions,
681 (parse_stacksize, parse_wait_policy): New functions.
682 * fortran.c: Rewrite lock wrappers, if symbol versioning provide
683 both wrappers for compatibility and new locks.
684 (omp_set_schedule, omp_get_schedule,
685 omp_get_thread_limit, omp_set_max_active_levels,
686 omp_get_max_active_levels, omp_get_level,
687 omp_get_ancestor_thread_num, omp_get_team_size,
688 omp_get_active_level): New ialias_redirect.
689 (omp_set_schedule_, omp_set_schedule_8_,
690 omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_,
691 omp_set_max_active_levels_, omp_set_max_active_levels_8_,
692 omp_get_max_active_levels_, omp_get_level_,
693 omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_,
694 omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_):
696 * parallel.c: Include limits.h.
697 (gomp_resolve_num_threads): Add count argument. Rewritten.
698 (GOMP_parallel_start): Call gomp_new_team and pass that as last
699 argument to gomp_team_start. Pass 0 as second argument to
700 gomp_resolve_num_threads.
701 (GOMP_parallel_end): Decrease gomp_remaining_threads_count
702 if gomp_thread_limit_var != ULONG_MAX.
703 (omp_in_parallel): Implement using ts.active_level.
704 (omp_get_max_threads): Move to env.c.
705 (omp_get_level, omp_get_ancestor_thread_num,
706 omp_get_team_size, omp_get_active_level): New functions,
708 * sections.c (GOMP_sections_start): Call gomp_work_share_init_done
709 after gomp_sections_init. If HAVE_SYNC_BUILTINS, call
710 gomp_iter_dynamic_next instead of the _locked variant and don't take
711 lock around it, otherwise acquire it before calling
712 gomp_iter_dynamic_next_locked.
713 (GOMP_sections_next): If HAVE_SYNC_BUILTINS, call
714 gomp_iter_dynamic_next instead of the _locked variant and don't take
716 (GOMP_parallel_sections_start): Call gomp_new_team instead of
717 gomp_new_work_share. Call gomp_sections_init on &team->work_shares[0].
718 Adjust gomp_team_start caller. Pass count as second argument to
719 gomp_resolve_num_threads, don't adjust num_threads after the call.
721 * iter.c (gomp_iter_dynamic_next_locked): Don't multiply
722 ws->chunk_size by incr.
723 (gomp_iter_dynamic_next): Likewise. If ws->mode, use more efficient
725 * libgomp_f.h.in (omp_lock_25_arg_t, omp_nest_lock_25_arg_t): New
727 (omp_lock_25_arg, omp_nest_lock_25_arg): New macros.
728 (omp_check_defines): Check even the compat defines.
729 * config/linux/ptrlock.c: New file.
730 * config/linux/ptrlock.h: New file.
731 * config/linux/wait.h: New file.
732 * config/posix/ptrlock.c: New file.
733 * config/posix/ptrlock.h: New file.
734 * config/linux/bar.h (gomp_team_barrier_wait,
735 gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes.
736 (gomp_team_barrier_set_task_pending,
737 gomp_team_barrier_clear_task_pending,
738 gomp_team_barrier_set_waiting_for_tasks,
739 gomp_team_barrier_waiting_for_tasks,
740 gomp_team_barrier_done): New inlines.
741 (gomp_barrier_t): Rewritten.
742 (gomp_barrier_state_t): New typedef.
743 (gomp_barrier_init, gomp_barrier_reinit, gomp_barrier_destroy,
744 gomp_barrier_wait_start): Rewritten.
745 (gomp_barrier_wait_end): Change second argument to
746 gomp_barrier_state_t.
747 (gomp_barrier_last_thread, gomp_barrier_wait_last): New static
749 * config/linux/bar.c: Include wait.h instead of libgomp.h and
751 (gomp_barrier_wait_end): Rewritten.
752 (gomp_team_barrier_wait, gomp_team_barrier_wait_end,
753 gomp_team_barrier_wake, gomp_barrier_wait_last): New functions.
754 * config/posix/bar.h (gomp_barrier_t): Add generation field.
755 (gomp_barrier_state_t): New typedef.
756 (gomp_team_barrier_wait,
757 gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes.
758 (gomp_barrier_wait_start): Or all but low 2 bits from generation
759 into the return value. Return gomp_barrier_state_t.
760 (gomp_team_barrier_set_task_pending,
761 gomp_team_barrier_clear_task_pending,
762 gomp_team_barrier_set_waiting_for_tasks,
763 gomp_team_barrier_waiting_for_tasks,
764 gomp_team_barrier_done): New inlines.
765 (gomp_barrier_wait_end): Change second argument to
766 gomp_barrier_state_t.
767 (gomp_barrier_last_thread, gomp_barrier_wait_last): New static
769 * config/posix/bar.c (gomp_barrier_init): Clear generation field.
770 (gomp_barrier_wait_end): Change second argument to
771 gomp_barrier_state_t.
772 (gomp_team_barrier_wait, gomp_team_barrier_wait_end,
773 gomp_team_barrier_wake): New functions.
774 * config/linux/mutex.c: Include wait.h instead of libgomp.h and
776 (gomp_futex_wake, gomp_futex_wait): New variables.
777 (gomp_mutex_lock_slow): Call do_wait instead of futex_wait.
778 * config/linux/lock.c: Rewrite to make locks task owned,
779 for backwards compatibility provide the old entrypoints
780 if symbol versioning. Include wait.h instead of libgomp.h and
782 (gomp_set_nest_lock_25): Call do_wait instead of futex_wait.
783 * config/posix95/lock.c: Rewrite to make locks task owned,
784 for backwards compatibility provide the old entrypoints
785 if symbol versioning.
786 * config/posix/lock.c: Rewrite to make locks task owned,
787 for backwards compatibility provide the old entrypoints
788 if symbol versioning.
789 * config/linux/proc.c (gomp_init_num_threads): Use gomp_global_icv.
790 (get_num_procs, gomp_dynamic_max_threads): Use gomp_icv.
791 * config/posix/proc.c, config/mingw32/proc.c: Similarly.
792 * config/linux/powerpc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
793 (sys_futex0): Return error code.
794 (futex_wake, futex_wait): If ENOSYS was returned, clear
795 FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
796 (cpu_relax, atomic_write_barrier): New static inlines.
797 * config/linux/alpha/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
798 (futex_wake, futex_wait): If ENOSYS was returned, clear
799 FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
800 (cpu_relax, atomic_write_barrier): New static inlines.
801 * config/linux/x86/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
802 (sys_futex0): Return error code.
803 (futex_wake, futex_wait): If ENOSYS was returned, clear
804 FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
805 (cpu_relax, atomic_write_barrier): New static inlines.
806 * config/linux/s390/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
807 (sys_futex0): Return error code.
808 (futex_wake, futex_wait): If ENOSYS was returned, clear
809 FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
810 (cpu_relax, atomic_write_barrier): New static inlines.
811 * config/linux/ia64/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
812 (sys_futex0): Return error code.
813 (futex_wake, futex_wait): If ENOSYS was returned, clear
814 FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
815 (cpu_relax, atomic_write_barrier): New static inlines.
816 * config/linux/sparc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
817 (sys_futex0): Return error code.
818 (futex_wake, futex_wait): If ENOSYS was returned, clear
819 FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
820 (cpu_relax, atomic_write_barrier): New static inlines.
821 * config/linux/sem.c: Include wait.h instead of libgomp.h and
823 (gomp_sem_wait_slow): Call do_wait instead of futex_wait.
824 * config/linux/affinity.c: Assume HAVE_SYNC_BUILTINS.
825 * config/linux/omp-lock.h (omp_lock_25_t, omp_nest_lock_25_t): New
827 (omp_nest_lock_t): Change owner into void *, add lock field.
828 * config/posix95/omp-lock.h: Include semaphore.h.
829 (omp_lock_25_t, omp_nest_lock_25_t): New types.
830 (omp_lock_t): Use sem_t instead of mutex if semaphores
832 (omp_nest_lock_t): Likewise. Change owner to void *.
833 * config/posix/omp-lock.h: Include semaphore.h.
834 (omp_lock_25_t, omp_nest_lock_25_t): New types.
835 (omp_lock_t): Use sem_t instead of mutex if semaphores
837 (omp_nest_lock_t): Likewise. Add owner field.
839 2008-06-06 Jakub Jelinek <jakub@redhat.com>
841 * testsuite/libgomp.c/collapse-1.c: New test.
842 * testsuite/libgomp.c/collapse-2.c: New test.
843 * testsuite/libgomp.c/collapse-3.c: New test.
844 * testsuite/libgomp.c/icv-1.c: New test.
845 * testsuite/libgomp.c/icv-2.c: New test.
846 * testsuite/libgomp.c/lib-2.c: New test.
847 * testsuite/libgomp.c/lock-1.c: New test.
848 * testsuite/libgomp.c/lock-2.c: New test.
849 * testsuite/libgomp.c/lock-3.c: New test.
850 * testsuite/libgomp.c/loop-4.c: New test.
851 * testsuite/libgomp.c/loop-5.c: New test.
852 * testsuite/libgomp.c/loop-6.c: New test.
853 * testsuite/libgomp.c/loop-7.c: New test.
854 * testsuite/libgomp.c/loop-8.c: New test.
855 * testsuite/libgomp.c/loop-9.c: New test.
856 * testsuite/libgomp.c/nested-3.c: New test.
857 * testsuite/libgomp.c/nestedfn-6.c: New test.
858 * testsuite/libgomp.c/sort-1.c: New test.
859 * testsuite/libgomp.c/task-1.c: New test.
860 * testsuite/libgomp.c/task-2.c: New test.
861 * testsuite/libgomp.c/task-3.c: New test.
862 * testsuite/libgomp.c/task-4.c: New test.
863 * testsuite/libgomp.c++/c++.exp: Add libstdc++-v3 build includes
864 to C++ testsuite default compiler options.
865 * testsuite/libgomp.c++/collapse-1.C: New test.
866 * testsuite/libgomp.c++/collapse-2.C: New test.
867 * testsuite/libgomp.c++/ctor-10.C: New test.
868 * testsuite/libgomp.c++/for-1.C: New test.
869 * testsuite/libgomp.c++/for-2.C: New test.
870 * testsuite/libgomp.c++/for-3.C: New test.
871 * testsuite/libgomp.c++/for-4.C: New test.
872 * testsuite/libgomp.c++/for-5.C: New test.
873 * testsuite/libgomp.c++/loop-8.C: New test.
874 * testsuite/libgomp.c++/loop-9.C: New test.
875 * testsuite/libgomp.c++/loop-10.C: New test.
876 * testsuite/libgomp.c++/task-1.C: New test.
877 * testsuite/libgomp.c++/task-2.C: New test.
878 * testsuite/libgomp.c++/task-3.C: New test.
879 * testsuite/libgomp.c++/task-4.C: New test.
880 * testsuite/libgomp.c++/task-5.C: New test.
881 * testsuite/libgomp.c++/task-6.C: New test.
882 * testsuite/libgomp.fortran/allocatable1.f90: New test.
883 * testsuite/libgomp.fortran/allocatable2.f90: New test.
884 * testsuite/libgomp.fortran/allocatable3.f90: New test.
885 * testsuite/libgomp.fortran/allocatable4.f90: New test.
886 * testsuite/libgomp.fortran/collapse1.f90: New test.
887 * testsuite/libgomp.fortran/collapse2.f90: New test.
888 * testsuite/libgomp.fortran/collapse3.f90: New test.
889 * testsuite/libgomp.fortran/collapse4.f90: New test.
890 * testsuite/libgomp.fortran/lastprivate1.f90: New test.
891 * testsuite/libgomp.fortran/lastprivate2.f90: New test.
892 * testsuite/libgomp.fortran/lib4.f90: New test.
893 * testsuite/libgomp.fortran/lock-1.f90: New test.
894 * testsuite/libgomp.fortran/lock-2.f90: New test.
895 * testsuite/libgomp.fortran/nested1.f90: New test.
896 * testsuite/libgomp.fortran/nestedfn4.f90: New test.
897 * testsuite/libgomp.fortran/strassen.f90: New test.
898 * testsuite/libgomp.fortran/tabs1.f90: New test.
899 * testsuite/libgomp.fortran/tabs2.f: New test.
900 * testsuite/libgomp.fortran/task1.f90: New test.
901 * testsuite/libgomp.fortran/task2.f90: New test.
902 * testsuite/libgomp.fortran/vla4.f90: Add dg-warning.
903 * testsuite/libgomp.fortran/vla5.f90: Likewise.
904 * testsuite/libgomp.c/pr26943-2.c: Likewise.
905 * testsuite/libgomp.c/pr26943-3.c: Likewise.
906 * testsuite/libgomp.c/pr26943-4.c: Likewise.
908 2008-05-23 Jakub Jelinek <jakub@redhat.com>
911 * testsuite/libgomp.c++/ctor-11.C: New test.
912 * testsuite/libgomp.c++/ctor-12.C: New test.
914 2008-05-15 Janis Johnson <janis187@us.ibm.com>
916 * testsuite/lib/libgomp.exp: Load torture-options.exp from gcc lib.
918 2008-05-07 Jakub Jelinek <jakub@redhat.com>
921 * testsuite/libgomp.c/atomic-5.c: New test.
922 * testsuite/libgomp.c/atomic-6.c: New test.
923 * testsuite/libgomp.c/autopar-1.c: New test.
925 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
927 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS)
928 (LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY)
929 (LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT)
930 (LIBGOMP_CHECK_ATTRIBUTE_ALIAS): Fix cache variable names.
931 * configure: Regenerate.
932 * Makefile.in, testsuite/Makefile.in: Likewise.
934 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
937 * aclocal.m4: Regenerate.
938 * configure: Regenerate.
940 2008-03-18 Jakub Jelinek <jakub@redhat.com>
943 * testsuite/libgomp.c/atomic-4.c: New test.
946 * iter.c (gomp_iter_guided_next_locked): If q > n, set end to ws->end.
947 (gomp_iter_guided_next): Likewise.
948 * testsuite/libgomp.c/pr35625.c: New test.
950 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
952 * aclocal.m4: Regenerate.
953 * configure: Likewise.
954 * Makefile.in: Likewise.
955 * testsuite/Makefile.in: Likewise.
957 2008-03-13 Jakub Jelinek <jakub@redhat.com>
960 * testsuite/libgomp.c++/pr35185.C: New test.
962 2008-03-12 Jakub Jelinek <jakub@redhat.com>
965 * testsuite/libgomp.c/pr35549.c: New test.
967 2008-03-06 Jakub Jelinek <jakub@redhat.com>
969 * testsuite/libgomp.c/atomic-3.c: New test.
971 2008-03-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
974 * testsuite/libgomp.fortran/fortran.exp: Add .f08 and
977 2008-03-03 Peter O'Gorman <pogma@thewrittenword.com>
980 * configure.ac: Add ACX_HEADER_STRING.
981 * env.c: Include strings.h.
982 * aclocal.m4: Regenerate.
983 * config.h.in: Regenerate.
984 * configure: Regenerate.
985 * Makefile.in: Regenerate.
986 * testsuite/Makefile.in: Regenerate.
988 2008-02-15 Jakub Jelinek <jakub@redhat.com>
991 * testsuite/libgomp.c/pr35196.c: New test.
994 * testsuite/libgomp.fortran/pr35130.f90: New test.
995 * testsuite/libgomp.c/pr35130.c: New test.
997 2008-01-25 Jakub Jelinek <jakub@redhat.com>
1000 * testsuite/libgomp.c/pr33880.c: New test.
1001 * testsuite/libgomp.fortran/pr33880.f90: New test.
1003 2008-01-24 David Edelsohn <edelsohn@gnu.org>
1005 * configure: Regenerate.
1007 2008-01-08 Jakub Jelinek <jakub@redhat.com>
1009 * configure.ac: Move futex checking into ../config/futex.m4.
1010 * configure: Rebuilt.
1011 * aclocal.m4: Rebuilt.
1012 * Makefile.in: Rebuilt.
1014 * configure.tgt: Rename have_tls to gcc_cv_have_tls to match
1015 2007-10-15 ../config/tls.m4 change.
1017 2007-12-19 Jakub Jelinek <jakub@redhat.com>
1020 * testsuite/libgomp.c/pr34513.c: New test.
1021 * testsuite/libgomp.c++/pr34513.C: New test.
1023 2007-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
1026 * testsuite/libgomp.fortran/crayptr2.f90: Move dg-options for darwin.
1028 2007-12-04 Jakub Jelinek <jakub@redhat.com>
1030 * omp.h.in (__GOMP_NOTHROW): Define. Use it on omp_* prototypes.
1032 2007-12-03 Jakub Jelinek <jakub@redhat.com>
1034 * testsuite/libgomp.c/private-1.c: New test.
1036 2007-11-29 Andris Pavenis <andris.pavenis@iki.fi>
1037 Paolo Bonzini <bonzini@gnu.org>
1039 * Makefile.am: Use space as vpath separator. Use 'vpath %'
1040 instead of 'VPATH ='.
1041 * Makefile.in: Regenerate.
1043 2007-11-23 Matthias Klose <doko@ubuntu.com>
1045 * configure.ac: Adjust makeinfo version check.
1046 * configure: Regenerate.
1048 2007-11-10 Jakub Jelinek <jakub@redhat.com>
1051 * testsuite/libgomp.fortran/pr34020.f90: New test.
1053 2007-11-06 Jakub Jelinek <jakub@redhat.com>
1056 * testsuite/libgomp.c++/atomic-1.C: New test.
1058 2007-10-25 Jakub Jelinek <jakub@redhat.com>
1061 * testsuite/libgomp.fortran/omp_parse3.f90 (test_threadprivate):
1062 Make x and y integers rather than (implicit) reals. Add private (j)
1063 clause to the last omp parallel.
1065 2007-10-15 Maciej W. Rozycki <macro@linux-mips.org>
1067 * configure: Regenerate following changes to ../config/tls.m4.
1069 2007-09-28 Jakub Jelinek <jakub@redhat.com>
1071 * testsuite/libgomp.fortran/stack.f90: New test.
1073 2007-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1075 * config/mingw32/proc.c: New file.
1077 2007-09-05 Uros Bizjak <ubizjak@gmail.com>
1079 * testsuite/libgomp.c/atomic-1.c: Include cpuid.h for i386 targets.
1080 (main): Use __get_cpuid to get i386 target fetaures.
1081 * testsuite/libgomp.c/atomic-2.c: Include cpuid.h for x86_64 targets.
1082 (main): Use __get_cpuid to get x86_64 target fetaures.
1084 2007-08-15 Jack Howarth <howarth@bromo.med.uc.edu>
1087 * testsuite/libgomp.fortran/pr32550.f90: Use -static-libgcc on Darwin.
1088 * testsuite/libgomp.fortran/crayptr2.f90: Likwise.
1090 2007-07-12 Jakub Jelinek <jakub@redhat.com>
1093 * testsuite/libgomp.fortran/pr32550.f90: New test.
1094 * testsuite/libgomp.fortran/crayptr2.f90: New test.
1096 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1098 * aclocal.m4: Regenerated.
1100 2007-07-05 Tobias Burnus <burnus@net-b.de>
1103 * testsuite/libgomp.fortran/pr32359.f90: New.
1105 2007-07-02 Jakub Jelinek <jakub@redhat.com>
1108 * sections.c (GOMP_parallel_sections_start): Only decrease
1109 number of threads to COUNT if dyn_var is true.
1110 * testsuite/libgomp.c/pr32468.c: New test.
1112 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1115 * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
1117 2007-06-21 Jakub Jelinek <jakub@redhat.com>
1120 * testsuite/libgomp.c/pr32362-1.c: New test.
1121 * testsuite/libgomp.c/pr32362-2.c: New test.
1122 * testsuite/libgomp.c/pr32362-3.c: New test.
1124 2007-06-07 Jakub Jelinek <jakub@redhat.com>
1126 * team.c (gomp_team_start): Fix setting up thread_attr
1129 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
1131 * configure: Regenerate.
1133 2007-05-23 Steve Ellcey <sje@cup.hp.com>
1135 * Makefile.in: Regenerate.
1136 * configure: Regenerate.
1137 * aclocal.m4: Regenerate.
1138 * testsuite/Makefile.in: Regenerate.
1140 2007-05-04 Jakub Jelinek <jakub@redhat.com>
1142 * config/linux/proc.c: New file.
1145 * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.
1147 2007-04-19 Daniel Franke <franke.daniel@gmail.com>
1149 * libgomp.texi (GOMP_CPU_AFFINITY): Updated.
1151 2007-04-16 Matthias Klose <doko@debian.org>
1153 * configure.tgt (i[456]86-*-linux*): Only add ia32 specific
1154 flags if not building with -m64.
1155 * testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march
1156 flag for i?86-*-* targets, if current target matches -m64.
1158 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1160 * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
1161 * Makefile.in: Regenerate.
1163 2007-04-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1166 * testsuite/libgomp.c++/c++.exp: Don't use concat when setting
1168 * testsuite/libgomp.fortran/fortran.exp: Likewise.
1170 2007-04-04 Jakub Jelinek <jakub@redhat.com>
1172 * libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New extern
1174 (gomp_init_affinity, gomp_init_thread_affinity): New prototypes.
1175 * env.c (gomp_cpu_affinity, gomp_cpu_affinity_len): New variables.
1176 (parse_affinity): New function.
1177 (initialize_env): Call it and gomp_init_affinity.
1178 * team.c (gomp_team_start): If gomp_cpu_affinity != NULL,
1179 create new pthread_attr_t and call gomp_init_thread_affinity
1180 on it for each thread before passing the attribute to pthread_create.
1181 * config/linux/affinity.c: New file.
1182 * config/posix/affinity.c: New file.
1183 * configure.ac (HAVE_PTHREAD_AFFINITY_NP): New test.
1184 * configure: Rebuilt.
1185 * config.h.in: Rebuilt.
1186 * Makefile.am (libgomp_la_SOURCES): Add affinity.c.
1187 * Makefile.in: Rebuilt.
1189 2007-03-23 Andreas Tobler <a.tobler@schweiz.org>
1191 * testsuite/lib/libgomp.exp (libgomp_init): Add -shared-libgcc for
1193 * testsuite/libgomp.c++/c++.exp: Look for shared libstdc++ library
1194 and use it if found.
1196 2007-03-18 Uros Bizjak <ubizjak@gmail.com>
1198 * testsuite/config/default.exp: New file.
1199 * testsuite/lib/libgomp.exp: New file.
1200 * testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init,
1201 libgomp_target_compile, libgomp_option_help, libgomp_option_proc,
1202 load_lib *, load_gcc_lib *): Move to libgomp.exp.
1203 (libgomp_load): Remove.
1204 * testsuite/lib/libgomp.exp (libgomp_init): Compute
1205 always_ld_library_path, not ld_library_path. Set additional_flags
1206 to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets.
1207 (target_compile): Do not call libgomp_init. Append lang_library_path
1208 and lang_link_flags to options.
1209 * testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2. Set
1210 ld_library_path from always_ld_library_path. Set LD_LIBRARY_PATH
1212 * testsuite/libgomp.c++/c++.exp: Set ld_library_path from
1213 always_ld_library_path. Set LD_LIBRARY_PATH here.
1214 * testsuite/libgomp.fortran/fortran.exp: Ditto.
1215 * testsuite/libgomp.c/atomic-1.c: Set dg-options to
1216 "-O2 -march=pentium" for ilp32 x86 targets. Simplify check for
1218 * testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for
1219 lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3.
1220 * testsuite/libgomp.c/pr29947-1.c: Remove default dg-options.
1221 * testsuite/libgomp.c/pr29947-1.c: Ditto.
1222 * testsuite/libgomp.c/atomic-10.c: Ditto.
1224 2007-03-21 Jakub Jelinek <jakub@redhat.com>
1226 * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add
1227 dg-final cleanup-modules line.
1228 * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise.
1229 * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise.
1230 * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise.
1231 * testsuite/libgomp.fortran/threadprivate2.f90: Likewise.
1232 * testsuite/libgomp.fortran/reduction5.f90: Likewise.
1233 * testsuite/libgomp.fortran/threadprivate3.f90: Likewise.
1234 * testsuite/libgomp.fortran/threadprivate1.f90: Likewise.
1236 2007-03-18 Andreas Schwab <schwab@suse.de>
1238 * acinclude.m4: Adjust regular expression for ld version
1240 * configure: Regenerate.
1242 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
1244 * Makefile.am: Add install-pdf target as copied from
1245 automake v1.10 rules.
1246 * Makefile.in: Regenerate
1248 2007-02-07 Jakub Jelinek <jakub@redhat.com>
1251 * configure: Regenerate.
1254 * testsuite/libgomp.c++/pr30703.C: New test.
1256 2007-02-02 Jakub Jelinek <jakub@redhat.com>
1259 2006-07-05 Eric Christopher <echristo@apple.com>
1260 * configure.ac: Depend addition of -pthread on host OS.
1261 * configure: Regenerate.
1263 2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1265 * libgomp.texi: Fix spacing after abbreviations.
1267 2007-01-31 Daniel Franke <franke.daniel@gmail.com>
1270 * configure.ac: Add check for makeinfo
1271 * Makefile.am: Redefined target libgomp.info, build libgomp.info only
1272 if an appropiate version of makeinfo is found.
1273 * aclocal.m4: Regenerated.
1274 * configure: Regenerated.
1275 * Makefile.in: Regenerated.
1276 * testsuite/Makefile.in: Regenerated.
1278 2007-01-29 Daniel Franke <franke.daniel@gmail.com>
1281 * libgomp.texi: More about implementation-dependent settings.
1283 2007-01-26 Tobias Burnus <burnus@net-b.de>
1285 * testsuite/libgomp.fortran/fortran.exp: Support .f03 extension.
1287 2007-01-24 Jakub Jelinek <jakub@redhat.com>
1290 * testsuite/libgomp.c/pr30494.c: New test.
1292 2007-01-15 Tom Tromey <tromey@redhat.com>
1294 * configure: Rebuilt.
1295 * configure.ac: Fixed comment.
1297 2007-01-14 Daniel Franke <franke.daniel@gmail.com>
1299 * libgomp.texi: Document implementation specific default values of
1300 environment variables.
1302 2006-12-21 Daniel Franke <franke.daniel@gmail.com>
1305 * libgomp.texi: New file.
1306 * configure.ac: Add --enable-generated-files-in-srcdir option.
1307 * Makefile.am: Add info, dvi, pdf, html targets. On request, copy
1309 * Makefile.in: Regenerated.
1310 * config.h.in: Regenerated.
1311 * testsuite/Makefile.in: Regenerated.
1314 2006-12-04 Daniel Franke <franke.daniel@gmail.com>
1317 * env.c (omp_set_num_threads): Set illegal thread count to 1.
1319 2006-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
1321 * configure: Regenerate.
1323 2006-12-04 Jakub Jelinek <jakub@redhat.com>
1326 * loop.c (gomp_loop_init): Make parameters signed. Set ws->end to
1327 start if there shouldn't be any loop iterations.
1328 (gomp_loop_ordered_static_start): Remove start == end test.
1329 * testsuite/libgomp.c/pr29947-1.c: New test.
1330 * testsuite/libgomp.c/pr29947-2.c: New test.
1332 2006-12-02 Eric Botcazou <ebotcazou@libertysurf.fr>
1334 * configure.tgt: Force initial-exec TLS model on Linux only.
1336 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
1338 * configure: Regenerated.
1340 2006-11-09 Uros Bizjak <ubizjak@gmail.com>
1342 * env.c (parse_schedule): Reject out of range values.
1343 (parse_unsigned_long): Reject out of range, negative or zero values.
1345 2006-10-29 Jakub Jelinek <jakub@redhat.com>
1348 * testsuite/libgomp.fortran/pr29629.f90: New test.
1350 2006-10-24 Eric Botcazou <ebotcazou@libertysurf.fr>
1353 * configure.tgt: Use posix95 configuration for Solaris 2.5.1 and 2.6.
1354 * config/posix95: New directory.
1355 * config/posix95/omp-lock.h: New file.
1356 * config/posix95/lock.c: Likewise.
1358 2006-10-14 Geoffrey Keating <geoffk@apple.com>
1360 * aclocal.m4: Regenerate.
1361 * configure: Regenerate.
1363 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net>
1365 * testsuite/libgomp.c/barrier-1.c: Change timestamp tests from
1368 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net>
1370 * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from
1372 * configure: Regenerate.
1373 * fortran.c (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias.
1375 2006-09-26 Jakub Jelinek <jakub@redhat.com>
1379 * testsuite/libgomp.c/nestedfn-4.c: New test.
1380 * testsuite/libgomp.c/nestedfn-5.c: New test.
1381 * testsuite/libgomp.fortran/nestedfn3.f90: New test.
1384 * testsuite/libgomp.fortran/condinc1.f: New test.
1385 * testsuite/libgomp.fortran/condinc2.f: New test.
1386 * testsuite/libgomp.fortran/condinc3.f90: New test.
1387 * testsuite/libgomp.fortran/condinc4.f90: New test.
1388 * testsuite/libgomp.fortran/condinc1.inc: New file.
1390 2006-09-18 Tom Tromey <tromey@redhat.com>
1392 * configure: Rebuilt.
1394 2006-09-13 Joseph S. Myers <joseph@codesourcery.com>
1397 PR preprocessor/14634
1398 * configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument
1400 * configure: Regenerate.
1402 2006-09-08 Steven G. Kargl <kargl@gcc.gnu.org>
1404 * testsuite/libgomp.fortran/reduction3.f90: Change
1405 -2147483648 to -huge(i)-1 to avoid overflow.
1406 * testsuite/libgomp.fortran/reduction4.f90: Change
1407 Z'ffffffff' to not(0) to avoid overflow.
1409 2006-08-26 Joseph S. Myers <joseph@codesourcery.com>
1412 * Makefile.am (libsubincludedir): New.
1413 (nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
1414 * Makefile.in: Regenerate.
1416 2006-08-17 Jakub Jelinek <jakub@redhat.com>
1419 * env.c: Include ctype.h.
1420 (parse_schedule, parse_unsigned_long, parse_boolean): Allow
1421 leading and/or trailing whitespace and compare strings case
1424 2006-07-16 Jakub Jelinek <jakub@redhat.com>
1427 * testsuite/libgomp.fortran/pr28390.f: New test.
1429 2006-07-05 Eric Christopher <echristo@apple.com>
1431 * configure.ac: Depend addition of -pthread on host OS.
1432 * configure: Regenerate.
1434 2006-06-21 Jakub Jelinek <jakub@redhat.com>
1436 * critical.c (GOMP_critical_name_start): Fix *pptr initialization
1437 when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is
1440 2006-06-20 Jakub Jelinek <jakub@redhat.com>
1444 * configure.ac: If neither --enable-linux-futex nor
1445 --disable-linux-futex is passed, determine the default by checking
1446 for compiling and/or running against NPTL. With --enable-linux-futex,
1447 check if SYS_gettid and SYS_futex are defined.
1448 * configure: Rebuilt.
1450 2006-06-14 Richard Henderson <rth@redhat.com>
1453 * env.c (initialize_env): Avoid using PTHREAD_STACK_MIN when
1454 undefined. Use GOMP_STACKSIZE not OMP_STACKSIZE for environment.
1456 2006-06-09 Richard Henderson <rth@redhat.com>
1458 * env.c (gomp_nthreads_var): Change to unsigned long.
1459 (gomp_run_sched_chunk): Likewise.
1460 (parse_unsigned_long): Rename from parse_num_threads and generalize.
1461 (initialize_env): Initialize gomp_thread_attr.
1462 * libgomp.h (gomp_nthreads_var): Update decl.
1463 (gomp_run_sched_chunk): Likewise.
1464 (gomp_thread_attr): Declare.
1465 * team.c (gomp_thread_attr): Export.
1466 (initialize_team): Don't initialize it.
1468 2006-06-09 Jakub Jelinek <jakub@redhat.com>
1471 * testsuite/libgomp.fortran/pr27916-1.f90: New test.
1472 * testsuite/libgomp.fortran/pr27916-2.f90: New test.
1474 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1476 * config/mingw32/time.c: New file.
1477 * configure.tgt: Use it.
1479 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
1481 * Makefile.am: Add install-html target. Add install-html to .PHONY
1482 * Makefile.in: Regenerate.
1484 2006-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1487 * testsuite/libgomp.c/sections-1.c: Require sync_int_long.
1488 * testsuite/libgomp.c/critical-1.c: Likewise.
1489 * testsuite/libgomp.c/loop-1.c: Likewise.
1490 * testsuite/libgomp.c/loop-2.c: Likewise.
1491 * testsuite/libgomp.c/single-1.c: Likewise.
1492 * testsuite/libgomp.c/ordered-1.c: Likewise.
1493 * testsuite/libgomp.c/ordered-2.c: Likewise.
1495 2006-05-15 Jakub Jelinek <jakub@redhat.com>
1498 * libgomp.fortran/pr27416-1.f90: New test.
1500 2006-05-03 Jakub Jelinek <jakub@redhat.com>
1503 * testsuite/libgomp.fortran/pr27395-1.f90: New test.
1504 * testsuite/libgomp.fortran/pr27395-2.f90: New test.
1506 2006-05-02 Jakub Jelinek <jakub@redhat.com>
1509 * testsuite/libgomp.c/pr26943-1.c: New test.
1510 * testsuite/libgomp.c/pr26943-2.c: New test.
1511 * testsuite/libgomp.c/pr26943-3.c: New test.
1512 * testsuite/libgomp.c/pr26943-4.c: New test.
1513 * testsuite/libgomp.c++/pr27337.C: Remove barrier.
1514 * testsuite/libgomp.c++/pr26943.C: New test.
1516 2006-05-02 Jakub Jelinek <jakub@redhat.com>
1519 * testsuite/libgomp.c++/pr27337.C: New test.
1521 2006-04-26 Jakub Jelinek <jakub@redhat.com>
1524 * testsuite/libgomp.c/pr26171.c: New test.
1526 2006-04-25 Richard Henderson <rth@redhat.com>
1529 * configure.ac: Use GCC_CHECK_TLS.
1530 * acinclude.m4 (LIBGOMP_CHECK_TLS): Remove.
1531 * Makefile.in, aclocal.m4, configure: Regenerate.
1533 2006-04-10 Matthias Klose <doko@debian.org>
1535 * testsuite/lib/libgomp.exp (libgomp_init): Recognize multilib
1536 directory names containing underscores.
1538 2006-03-21 Jakub Jelinek <jakub@redhat.com>
1541 * testsuite/libgomp.c++/pr26691.C: New test.
1543 2006-03-13 Jakub Jelinek <jakub@redhat.com>
1545 * testsuite/libgomp.fortran/retval2.f90: New test.
1547 2006-03-09 Diego Novillo <dnovillo@redhat.com>
1549 * testsuite/libgomp.c++: New directory.
1551 2006-02-25 Shantonu Sen <ssen@opendarwin.org>
1553 * config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions.
1554 * config/posix/sem.c: Implement the above.
1556 2006-02-25 Andreas Tobler <a.tobler@schweiz.ch>
1558 * configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and
1559 define HAVE_BROKEN_POSIX_SEMAPHORES.
1560 * configure: Rebuilt.
1561 * config.h.in: Rebuilt.
1563 2006-02-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1566 * configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment
1567 for the other pthread check.
1568 * configure: Regenerate.
1569 * config.h.in: Regenerate.
1571 2006-02-15 Jakub Jelinek <jakub@redhat.com>
1575 * Makefile.am (fincludedir): New variable.
1576 (nodist_include_HEADERS): Remove Fortran files.
1577 (nodist_finclude_HEADERS): New variable.
1578 * Makefile.in: Regenerated.
1580 2006-02-13 Jakub Jelinek <jakub@redhat.com>
1582 * testsuite/libgomp.fortran/vla7.f90: Add -w to options.
1583 Remove tests for returning assumed character length arrays.
1585 2006-02-12 Roger Sayle <roger@eyesopen.com>
1586 John David Anglin <dave@hiauly1.hia.nrc.ca>
1589 * configure.tgt: Link against -lrt for sem_init on HPUX v11 systems.
1591 2006-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1593 * testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library.
1595 2006-02-07 Eric Botcazou <ebotcazou@libertysurf.fr>
1597 * testsuite/lib/libgomp-dg.exp (libgomp_init): Compute multilib related
1598 part of LD_LIBRARY_PATH manually.
1600 2006-02-03 H.J. Lu <hongjiu.lu@intel.com>
1603 * testsuite/lib/libgomp-dg.exp (blddir): Set it in
1606 2005-01-25 Paolo Bonzini <bonzini@gnu.org>
1609 * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove.
1610 * configure.ac (PERL): Don't set.
1611 (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here.
1612 (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE,
1613 OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions.
1614 * omp.h.in: Wrap the new configure substitutions with @ characters.
1615 * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise.
1616 * aclocal.m4, configure, Makefile.in: Regenerate.
1617 * mkomp_h.pl: Delete.
1619 2005-01-24 Paolo Bonzini <bonzini@gnu.org>
1622 * configure.ac: Use GCC_HEADER_STDINT.
1623 * libgomp.h: Include gstdint.h.
1624 * libgomp_f.h.in: Don't include stdint.h or inttypes.h.
1625 * configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild.
1627 2006-01-24 Richard Henderson <rth@redhat.com>
1630 * configure.ac: Add AM_MAINTAINER_MODE.
1631 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild.
1633 2006-01-24 Diego Novillo <dnovillo@redhat.com>
1635 * Makefile.in: Regenerate.
1636 * testsuite/Makefile.in: Regenerate.
1637 * aclocal.m4: Regenerate.
1639 2006-01-23 Andreas Tobler <a.tobler@schweiz.ch>
1641 * config/posix/proc.c: Conditional include of sys/loadavg.h for
1643 * configure.ac: Add check for loadavg.h.
1644 (link_gomp): Adjust comment.
1645 * configure: Regenerate.
1646 * config.h.in: Regenerate.
1648 2006-01-21 Steve Ellcey <sje@cup.hp.com>
1651 * configure.ac: Remove check for alloca.h.
1652 * configure: Regenerate.
1653 * config.h.in: Regenerate.
1654 * libgomp.h: define gomp_alloca to be __builtin_alloca.
1655 * team.c: Remove use of alloca.h.
1656 Call gomp_alloca instead of alloca.
1658 2006-01-20 Steve Ellcey <sje@cup.hp.com>
1661 * team.c: Add include of alloca.h.
1662 * configure.ac: Add check for alloca.h.
1663 * configure: Regenerate.
1664 * config.h.in: Regenerate.
1666 2006-01-17 Jakub Jelinek <jakub@redhat.com>
1669 * testsuite/libgomp.fortran/pr25219.f90: New test.
1671 2005-12-05 Uros Bizjak <uros@kss-loka.si>
1673 * testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c,
1674 testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c,
1675 testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
1676 testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
1677 testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C,
1678 testsuite/libgomp.fortran/threadprivate1.f90,
1679 testsuite/libgomp.fortran/threadprivate2.f90,
1680 testsuite/libgomp.fortran/threadprivate3.f90,
1681 testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
1682 testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
1683 testsuite/libgomp.fortran/omp_parse3.f90: Change required
1684 effective-target to TLS runtime.
1686 * testsuite/libgomp.fortran/pr25162.f: Require
1687 effective-target TLS runtime.
1689 2005-12-01 Jakub Jelinek <jakub@redhat.com>
1691 * testsuite/libgomp.fortran/nestedfn2.f90: New test.
1692 * testsuite/libgomp.c/nestedfn-3.c: New test.
1694 2005-11-30 Jakub Jelinek <jakub@redhat.com>
1697 * testsuite/libgomp.fortran/pr25162.f: New test.
1699 2005-11-28 Jakub Jelinek <jakub@redhat.com>
1701 * config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to
1702 CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed.
1704 2005-11-25 Jakub Jelinek <jakub@redhat.com>
1706 * alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c,
1707 libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in,
1708 omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c,
1709 single.c, team.c, work.c, config/linux/alpha/futex.h,
1710 config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h,
1711 config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h,
1712 config/linux/powerpc/futex.h, config/linux/s390/futex.h,
1713 config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h,
1714 config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h,
1715 config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c,
1716 config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update
1719 2005-11-18 Jakub Jelinek <jakub@redhat.com>
1721 * Makefile.am: Move libgomp_f.h from nodist_include_HEADERS
1722 to nodist_noinst_HEADERS.
1723 * Makefile.in: Rebuilt.
1725 * config/posix/omp-lock.h (omp_nest_lock_t): Change into struct,
1726 add integer count field.
1727 * config/posix/lock.c (omp_destroy_nest_lock): Adjust for
1728 omp_nest_lock_t type change.
1729 (omp_init_nest_lock): Likewise. Initialize count to 0.
1730 (omp_set_nest_lock): Adjust for omp_nest_lock_t type change.
1732 (omp_unset_nest_lock): Adjust for omp_nest_lock_t type change.
1734 (omp_test_nest_lock): Adjust for omp_nest_lock_t type change.
1735 Increment count if successful and return the new nesting level.
1736 * config/linux/lock.c (omp_test_nest_lock): Return new nesting level.
1737 * omp_lib.f90.in (omp_test_lock): Fix LOCK argument type.
1738 * testsuite/libgomp.c/lib-1.c: New test.
1739 * testsuite/libgomp.fortran/lib1.f90: New test.
1740 * testsuite/libgomp.fortran/lib2.f: New test.
1741 * testsuite/libgomp.fortran/lib3.f: New test.
1743 2005-11-17 Richard Henderson <rth@redhat.com>
1746 * Makefile.am (nodist_toolexeclib_HEADERS): New.
1747 * configure.ac (link_gomp): New. Substitute it.
1748 (AC_CONFIG_FILES): Add libgomp.spec.
1749 * libgomp.spec.in: New file.
1750 * Makefile.in, testsuite/Makefile.in, configure: Rebuild.
1751 * testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags.
1753 2005-11-18 Jakub Jelinek <jakub@redhat.com>
1755 * testsuite/libgomp.fortran/reduction1.f90: Adjust for
1756 reduction(-:var) behaving the same as reduction(+:var).
1757 * testsuite/libgomp.c/reduction-4.c: New test.
1759 2005-11-15 Uros Bizjak <uros@kss-loka.si>
1761 * testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c,
1762 testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c,
1763 testsuite/libgomp.c/copyin-3.c,
1764 testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
1765 testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
1766 testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C,
1767 testsuite/libgomp.c++/pr24455.C,
1768 testsuite/libgomp.fortran/threadprivate1.f90,
1769 testsuite/libgomp.fortran/threadprivate2.f90,
1770 testsuite/libgomp.fortran/threadprivate3.f90,
1771 testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
1772 testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
1773 testsuite/libgomp.fortran/omp_parse3.f90: Require
1774 effective-target TLS.
1776 2005-11-14 Diego Novillo <dnovillo@redhat.com>
1780 2005-11-13 Jakub Jelinek <jakub@redhat.com>
1783 * team.c (initialize_team): Pass NULL rather than free as
1784 pthread_key_create destructor. Initialize thread specific data
1785 pointer in initial thread to a static local variable rather than
1788 2005-11-11 Uros Bizjak <uros@kss-loka.si>
1790 * testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append
1791 its location to ld_library_path.
1793 2005-11-10 Diego Novillo <dnovillo@redhat.com>
1795 * testsuite/libgomp.c/c.exp: Rename from dg.exp.
1797 2005-11-10 Diego Novillo <dnovillo@redhat.com>
1799 * testsuite/libgomp.c: Rename from libgomp.dg.
1801 2005-11-09 Diego Novillo <dnovillo@redhat.com>
1803 * testsuite/libgomp.c++/pr24455.C: Add copyin clause for
1804 threadprivate variable 'i'.
1806 2005-11-09 Jakub Jelinek <jakub@redhat.com>
1808 * config/linux/s390/futex.h: New file.
1809 * configure.tgt: Use it.
1811 * testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization
1812 before the parallel.
1814 2005-11-08 Jakub Jelinek <jakub@redhat.com>
1817 * testsuite/libgomp.c++/master-1.C: New test.
1819 2005-11-07 Jakub Jelinek <jakub@redhat.com>
1821 * testsuite/libgomp.dg/copyin-3.c: New test.
1823 2005-11-07 Jakub Jelinek <jakub@redhat.com>
1825 * testsuite/libgomp.fortran/retval1.f90: New test.
1826 * testsuite/libgomp.fortran/vla7.f90: New test.
1828 2005-11-06 Jakub Jelinek <jakub@redhat.com>
1830 * testsuite/libgomp.fortran/vla2.f90: New test.
1831 * testsuite/libgomp.fortran/vla3.f90: New test.
1832 * testsuite/libgomp.fortran/vla4.f90: New test.
1833 * testsuite/libgomp.fortran/vla5.f90: New test.
1834 * testsuite/libgomp.fortran/vla6.f90: New test.
1836 2005-11-01 Jakub Jelinek <jakub@redhat.com>
1838 * config/linux/sparc/futex.h: New file.
1839 * configure.tgt: Use it.
1840 * testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing.
1842 * critical.c: Include stdlib.h.
1843 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about
1844 ignoring return value.
1845 * configure.ac: Don't put -Wc,-pthread into XCFLAGS until after
1846 LIBGOMP_CHECK_SYNC_BUILTINS check.
1847 * configure: Rebuilt.
1849 2005-10-31 Jakub Jelinek <jakub@redhat.com>
1851 * testsuite/libgomp.fortran/vla1.f90: New test.
1853 2005-10-31 Richard Henderson <rth@redhat.com>
1855 * testsuite/libgomp.fortran/character2.f90: Fix race condition
1856 setting 's' in different threads.
1858 2005-10-31 Jakub Jelinek <jakub@redhat.com>
1860 * libgomp.h (attribute_hidden, ialias): Define.
1861 * config/posix/proc.c (omp_get_num_procs): Add ialias.
1862 * config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise.
1863 * config/posix/lock.c (omp_init_lock, omp_init_nest_lock,
1864 omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
1865 omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
1866 omp_test_lock, omp_test_nest_lock): Likewise.
1867 * config/linux/lock.c (omp_init_lock, omp_init_nest_lock,
1868 omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
1869 omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
1870 omp_test_lock, omp_test_nest_lock): Likewise.
1871 * env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads,
1872 omp_get_dynamic, omp_get_nested): Likewise.
1873 * parallel.c (omp_get_num_threads, omp_get_max_threads,
1874 omp_get_thread_num, omp_in_parallel): Likewise.
1875 * fortran.c (ialias_redirect): Define.
1876 (omp_init_lock, omp_init_nest_lock, omp_destroy_lock,
1877 omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock,
1878 omp_unset_lock, omp_unset_nest_lock, omp_test_lock,
1879 omp_test_nest_lock, omp_set_dynamic, omp_set_nested,
1880 omp_set_num_threads, omp_get_dynamic, omp_get_nested,
1881 omp_in_parallel, omp_get_max_threads, omp_get_num_procs,
1882 omp_get_num_threads, omp_get_thread_num, omp_get_wtick,
1883 omp_get_wtime): Add ialias_redirect.
1885 2005-10-30 Jakub Jelinek <jakub@redhat.com>
1887 * fortran.c: Include stdlib.h.
1889 2005-10-29 Jakub Jelinek <jakub@redhat.com>
1891 * Makefile.am (env.o, env.lo): Depend on libgomp_f.h.
1892 * Makefile.in: Regenerated.
1894 2005-10-28 Jakub Jelinek <jakub@redhat.com>
1896 * mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE.
1897 * libgomp_f.h.in (omp_check_defines): New function.
1898 * env.c: Include libgomp_f.h.
1899 (initialize_env): Call omp_check_defines.
1901 * testsuite/libgomp.dg/copyin-2.c: New test.
1902 * testsuite/libgomp.c++/copyin-2.C: New test.
1903 * testsuite/libgomp.fortran/threadprivate3.f90: New test.
1905 * testsuite/libgomp.fortran/threadprivate2.f90: New test.
1906 * testsuite/libgomp.fortran/sharing2.f90: New test.
1908 * testsuite/libgomp.dg/copyin-1.c: New test.
1909 * testsuite/libgomp.c++/copyin-1.C: New test.
1911 2005-10-26 Jakub Jelinek <jakub@redhat.com>
1913 * testsuite/libgomp.fortran/crayptr1.f90: New test.
1915 * testsuite/libgomp.fortran/workshare1.f90: New test.
1917 * libgomp.fortran/appendix-a/a.28.5.f90: Change into compile
1919 * libgomp.fortran/sharing1.f90: New test.
1921 2005-10-24 Jakub Jelinek <jakub@redhat.com>
1924 * testsuite/libgomp.c++/loop-7.C: New test.
1926 * testsuite/libgomp.dg/nestedfn-2.c: New test.
1928 * testsuite/libgomp.dg/nestedfn-1.c: New test.
1929 * testsuite/libgomp.fortran/reduction6.f90: New test.
1930 * testsuite/libgomp.fortran/nestedfn1.f90: New test.
1932 2005-10-23 Richard Henderson <rth@redhat.com>
1934 * testsuite/libgomp.c++/ctor-1.C: New.
1935 * testsuite/libgomp.c++/ctor-2.C: New.
1936 * testsuite/libgomp.c++/ctor-3.C: New.
1937 * testsuite/libgomp.c++/ctor-4.C: New.
1938 * testsuite/libgomp.c++/ctor-5.C: New.
1939 * testsuite/libgomp.c++/ctor-6.C: New.
1940 * testsuite/libgomp.c++/ctor-7.C: New.
1941 * testsuite/libgomp.c++/ctor-8.C: New.
1942 * testsuite/libgomp.c++/ctor-9.C: New.
1944 2005-10-21 Diego Novillo <dnovillo@redhat.com>
1947 * testsuite/libgomp.c++/pr24455-1.C: New test.
1948 * testsuite/libgomp.c++/pr24455.C: New test.
1949 * testsuite/libgomp.dg/pr24455-1.c: New test.
1950 * testsuite/libgomp.dg/pr24455.c: New test.
1952 2005-10-20 Richard Henderson <rth@redhat.com>
1954 * testsuite/libgomp.c++/loop-6.C: New.
1955 * testsuite/libgomp.dg/loop-3.c: New.
1957 2005-10-20 Jakub Jelinek <jakub@redhat.com>
1959 * testsuite/libgomp.fortran/jacobi.f: Don't make i and j
1961 * testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i
1964 2005-10-19 Diego Novillo <dnovillo@redhat.com>
1966 * testsuite/libgomp.fortran/jacobi.f: New test.
1968 2005-10-19 Richard Henderson <rth@redhat.com>
1970 * configure.tgt (i?86-linux): Default to with_arch instead of
1971 CFLAGS. Add -mtune to match target_cpu.
1972 (x86_64-linux): Tune to i686.
1974 * fortran.c (omp_test_nest_lock_): Fix typo.
1976 2005-10-19 Jakub Jelinek <jakub@redhat.com>
1978 * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
1979 gomp_ordered_sync): Do nothing if team->nthreads == 1.
1980 * testsuite/libgomp.dg/ordered-3.c: New test.
1982 * testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort.
1983 Remove volatile keyword.
1985 * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables
1986 in COMMON block to avoid warnings on 64-bit targets.
1988 2005-10-18 Diego Novillo <dnovillo@redhat.com>
1990 * testsuite/libgomp.dg/shared-3.c: New test.
1992 2005-10-18 Jakub Jelinek <jakub@redhat.com>
1994 * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed.
1995 * testsuite/libgomp.fortran/reduction5.f90: New test.
1997 2005-10-18 Jakub Jelinek <jakub@redhat.com>
1999 * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to
2001 * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise. Enable
2002 flush loop now that __sync_synchronize has proper memory barrier.
2003 * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo.
2004 Add -ffixed-form to dg-options.
2006 2005-10-17 Diego Novillo <dnovillo@redhat.com>
2008 * testsuite/libgomp.fortran/fortran.exp: Also gather tests
2009 from subdirectories.
2010 * testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test.
2011 * testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test.
2012 * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test.
2013 * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test.
2014 * testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test.
2015 * testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test.
2016 * testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test.
2017 * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test.
2018 * testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test.
2019 * testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test.
2020 * testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test.
2021 * testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test.
2022 * testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test.
2023 * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test.
2024 * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test.
2025 * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test.
2026 * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test.
2027 * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test.
2028 * testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test.
2029 * testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test.
2030 * testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test.
2031 * testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test.
2032 * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test.
2033 * testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test.
2034 * testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test.
2036 2005-10-17 Jakub Jelinek <jakub@redhat.com>
2038 * testsuite/libgomp.dg/dg.exp: Only unset lang_* if
2039 lang_library_path exists. Use find instead of glob to gather tests.
2040 * testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed.
2042 2005-10-17 Diego Novillo <dnovillo@redhat.com>
2044 * testsuite/libgomp.dg/appendix-a/a.15.1.c: New test.
2045 * testsuite/libgomp.dg/appendix-a/a.16.1.c: New test.
2046 * testsuite/libgomp.dg/appendix-a/a.18.1.c: New test.
2047 * testsuite/libgomp.dg/appendix-a/a.19.1.c: New test.
2048 * testsuite/libgomp.dg/appendix-a/a.2.1.c: New test.
2049 * testsuite/libgomp.dg/appendix-a/a.21.1.c: New test.
2050 * testsuite/libgomp.dg/appendix-a/a.26.1.c: New test.
2051 * testsuite/libgomp.dg/appendix-a/a.29.1.c: New test.
2052 * testsuite/libgomp.dg/appendix-a/a.3.1.c: New test.
2053 * testsuite/libgomp.dg/appendix-a/a.39.1.c: New test.
2054 * testsuite/libgomp.dg/appendix-a/a.4.1.c: New test.
2055 * testsuite/libgomp.dg/appendix-a/a.5.1.c: New test.
2056 * testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file.
2058 2005-10-15 Jakub Jelinek <jakub@redhat.com>
2060 * testsuite/libgomp.dg/vla-1.c: New test.
2062 * testsuite/libgomp.fortran/reference2.f90: New test.
2064 * testsuite/libgomp.fortran/character2.f90: Remove explicit
2065 declaration of omp_get_thread_num.
2066 * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. Add
2069 * testsuite/libgomp.fortran/reduction1.f90: New test.
2070 * testsuite/libgomp.fortran/reduction2.f90: New test.
2071 * testsuite/libgomp.fortran/reduction3.f90: New test.
2072 * testsuite/libgomp.fortran/reduction4.f90: New test.
2074 2005-10-13 Richard Henderson <rth@redhat.com>
2076 * Makefile.am (libgomp_la_SOURCES): Add bar.c.
2077 * Makefile.in: Regenerate.
2078 * barrier.c (GOMP_barrier): Use gomp_barrier_wait.
2079 * libgomp.h: Include bar.h.
2080 (struct gomp_barrier): Remove.
2081 (struct gomp_team): Add barrier. Replace master_barrier with
2082 master_release. Replace threads with ordered_release.
2083 (struct gomp_thread): Replace barrier with release.
2084 * ordered.c (gomp_ordered_first): Update for ordered_release change.
2085 (gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init,
2086 gomp_ordered_static_next, gomp_ordered_sync): Likewise.
2087 * single.c (GOMP_single_copy_start): Use gomp_barrier_wait.
2088 (GOMP_single_copy_end): Likewise.
2089 * team.c (gomp_threads_dock): New.
2090 (gomp_barrier_init, gomp_barrier_destroy): Remove.
2091 (gomp_thread_start): Use gomp_barrier_wait.
2092 (new_team, free_team): Update for gomp_team changes.
2093 (gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit.
2094 (gomp_team_end): Use gomp_barrier_wait.
2095 (initialize_team): Update for gomp_thread changes.
2096 * work.c (gomp_work_share_end): Use gomp_barrier_wait_start.
2097 (gomp_work_share_end_nowait): Use atomic ops when available.
2098 * config/linux/bar.c, config/linux/bar.h: New files.
2099 * config/posix/bar.c, config/posix/bar.h: New files.
2101 2005-10-13 Jakub Jelinek <jakub@redhat.com>
2103 * single.c (GOMP_single_copy_end): Don't segfault if team is NULL.
2104 * testsuite/libgomp.dg/single-2.c: New test.
2106 * testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file,
2107 lang_link_flags): Unset, so that they aren't inherited from previously
2110 * testsuite/libgomp.fortran/threadprivate1.f90: New test.
2112 2005-10-12 Richard Henderson <rth@redhat.com>
2114 * testsuite/lib/libgomp-dg.exp: Set blddir at toplevel.
2115 (libgomp_init): Use lang_test_file, lang_library_path, and
2116 lang_link_flags, set by the subdirectory files. Add -fopenmp here.
2118 * testsuite/libgomp.fortran/fortran.exp (lang_library_path): New.
2119 (lang_test_file, lang_link_flags): New.
2120 (DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove.
2122 * testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C,
2123 testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C,
2124 testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C,
2125 testsuite/libgomp.c++/parallel-1.C,
2126 testsuite/libgomp.c++/reduction-1.C,
2127 testsuite/libgomp.c++/reduction-2.C,
2128 testsuite/libgomp.c++/reduction-3.C,
2129 testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C,
2130 testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C,
2131 testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C:
2132 New files, largely cribbed from the C testsuite.
2134 2005-10-12 Jakub Jelinek <jakub@redhat.com>
2136 * testsuite/libgomp.fortran/character1.f90: New test.
2137 * testsuite/libgomp.fortran/character2.f90: New test.
2139 * testsuite/libgomp.dg/nested-1.c: New test.
2140 * testsuite/libgomp.dg/nested-2.c: New test.
2141 * testsuite/libgomp.fortran/do1.f90: New test.
2142 * testsuite/libgomp.fortran/do2.f90: New test.
2144 * testsuite/libgomp.fortran/reference1.f90: New test.
2146 2005-10-11 Jakub Jelinek <jakub@redhat.com>
2148 * testsuite/libgomp.dg/reduction-1.c: New test.
2149 * testsuite/libgomp.dg/reduction-2.c: New test.
2150 * testsuite/libgomp.dg/reduction-3.c: New test.
2152 2005-10-10 Jakub Jelinek <jakub@redhat.com>
2154 * testsuite/libgomp.dg/atomic-1.c: New test.
2155 * testsuite/libgomp.dg/atomic-2.c: New test.
2157 2005-10-09 Richard Henderson <rth@redhat.com>
2159 * critical.c (atomic_lock): New.
2160 (initialize_critical): Initialize it.
2161 (GOMP_atomic_start, GOMP_atomic_end): New.
2162 * libgomp.map: Export them.
2163 * libgomp_g.h: Declare them.
2165 * testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite.
2167 2005-10-02 Richard Henderson <rth@redhat.com>
2169 * configure.ac: Move save_CFLAGS hack earlier. Append -Wall/-Werror
2170 to XCFLAGS instead of CFLAGS.
2172 2005-09-30 Richard Henderson <rth@redhat.com>
2174 * configure.ac: Determine whether -pthread or -lpthread is needed.
2175 * Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread.
2176 * Makefine.in, configure: Rebuild.
2178 2005-09-28 Richard Henderson <rth@redhat.com>
2180 * testsuite/libgomp.dg/omp-loop03.c: Fix return code.
2181 * testsuite/libgomp.dg/omp-single-3.c: New test.
2183 2005-09-28 Diego Novillo <dnovillo@redhat.com>
2185 * testsuite/libgomp.dg/omp-single-2.c: New test.
2186 * testsuite/libgomp.dg/shared-2.c: Fix return code.
2188 2005-09-27 Richard Henderson <rth@redhat.com>
2190 * testsuite/libgomp.dg/omp-loop03.c: Add initial barrier.
2191 * testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule.
2193 2005-09-27 Jakub Jelinek <jakub@redhat.com>
2195 * testsuite/libgomp.dg/omp-loop03.c: New test.
2197 2005-09-27 Diego Novillo <dnovillo@redhat.com>
2199 * testsuite/libgomp.dg/omp-parallel-for.c: New test.
2201 2005-09-27 Diego Novillo <dnovillo@redhat.com>
2203 * testsuite/libgomp.dg/omp-single-1.c: New test.
2204 * testsuite/libgomp.dg/shared-1.c: Return 0.
2205 Add prototype for abort.
2206 * testsuite/libgomp.dg/shared-2.c: Likewise.
2208 2005-09-26 Jakub Jelinek <jakub@redhat.com>
2210 * testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming
2213 2005-09-26 Diego Novillo <dnovillo@redhat.com>
2215 * testsuite/libgomp.dg/shared-1.c: New test.
2216 * testsuite/libgomp.dg/shared-2.c: New test.
2218 2005-09-24 Richard Henderson <rth@redhat.com>
2220 * testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error.
2222 2005-09-24 Richard Henderson <rth@redhat.com>
2224 * iter.c (gomp_iter_static_next): Round up when computing number
2225 of iterations. Don't bother distributing a remainder equally.
2227 * testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main.
2228 Don't call srand. Zero b before testing.
2231 2005-09-24 Jakub Jelinek <jakub@redhat.com>
2233 * testsuite/libgomp.fortran/omp_atomic1.f90: New test.
2234 * testsuite/libgomp.fortran/omp_atomic2.f90: New test.
2236 2005-09-23 Jakub Jelinek <jakub@redhat.com>
2238 * testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do
2239 without !$omp end do, followed immediately by subroutine end.
2241 2005-09-23 Diego Novillo <dnovillo@redhat.com>
2243 * testsuite/libgomp.dg/omp-parallel-if.c: New test.
2245 2005-09-22 Richard Henderson <rth@redhat.com>
2247 * critical.c (GOMP_critical_name_start): Change argument to void**.
2248 Reuse the pointer space if the mutex fits.
2249 (GOMP_critical_name_end): Likewise.
2250 (initialize_critical): Don't define if GOMP_MUTEX_INIT_0.
2251 * libgomp_g.h (GOMP_critical_name_start): Update decl.
2252 (GOMP_critical_name_end): Likewise.
2253 * config/linux/mutex.h (GOMP_MUTEX_INIT_0): New.
2254 * config/posix/mutex.h (GOMP_MUTEX_INIT_0): New.
2256 2005-09-20 Richard Henderson <rth@redhat.com>
2258 * critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New.
2259 (create_lock_lock): New.
2260 (initialize_critical): Initialize it.
2261 * libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New.
2262 * libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare.
2264 2005-09-20 Diego Novillo <dnovillo@redhat.com>
2266 * testsuite/libgom.dg/omp-loop01.c: Include stdio.h.
2268 2005-09-20 Diego Novillo <dnovillo@redhat.com>
2270 * testsuite/libgomp.dg/omp-loop01.c: New test.
2271 * testsuite/libgomp.dg/omp-loop02.c: New test.
2273 2005-09-20 Jakub Jelinek <jakub@redhat.com>
2275 * configure.ac (AC_PROG_FC): Add.
2276 (USE_FORTRAN): New automake conditional.
2277 * configure: Rebuilt.
2278 * Makefile.am (libgomp_la_SOURCES): Add fortran.c.
2279 (nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h.
2280 If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod.
2281 Add rules to build them.
2282 * Makefile.in: Rebuilt.
2283 * mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and
2285 * libgomp.map: Add Fortran wrappers.
2286 * libgomp_f.h.in: New file.
2287 * omp_lib.h.in: New file.
2288 * omp_lib.f90.in: New file.
2289 * fortran.c: New file.
2290 * testsuite/lib/libgomp-dg.exp: Load a few more .exp files.
2291 Append libgfortran directory to LD_LIBRARY_PATH if it exists.
2292 Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if
2293 libgfortran has been built.
2294 * testsuite/libgomp.fortran/fortran.exp: New file.
2295 * testsuite/libgomp.fortran/omp_cond1.f: New test.
2296 * testsuite/libgomp.fortran/omp_cond2.f: New test.
2297 * testsuite/libgomp.fortran/omp_cond3.F90: New test.
2298 * testsuite/libgomp.fortran/omp_cond4.F90: New test.
2299 * testsuite/libgomp.fortran/omp_hello.f: New test.
2300 * testsuite/libgomp.fortran/omp_orphan.f: New test.
2301 * testsuite/libgomp.fortran/omp_parse1.f90: New test.
2302 * testsuite/libgomp.fortran/omp_parse2.f90: New test.
2303 * testsuite/libgomp.fortran/omp_parse3.f90: New test.
2304 * testsuite/libgomp.fortran/omp_parse4.f90: New test.
2305 * testsuite/libgomp.fortran/omp_reduction.f: New test.
2306 * testsuite/libgomp.fortran/omp_workshare1.f: New test.
2307 * testsuite/libgomp.fortran/omp_workshare2.f: New test.
2309 2005-08-30 Richard Henderson <rth@redhat.com>
2311 * loop.c (GOMP_loop_static_start): Provide fallback wrapper
2312 function for when aliases are not usable.
2313 (GOMP_loop_dynamic_start, GOMP_loop_guided_start,
2314 GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
2315 GOMP_loop_ordered_guided_start, GOMP_loop_static_next,
2316 GOMP_loop_dynamic_next, GOMP_loop_guided_next,
2317 GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next,
2318 GOMP_loop_ordered_guided_next): Likewise.
2319 * ordered.c (GOMP_ordered_start): Likewise.
2321 2005-08-01 Diego Novillo <dnovillo@redhat.com>
2323 * testsuite/libgomp.dg/dg.exp: Use -O2 for now.
2324 * testsuite/libgomp.dg/omp_hello.c: Fix return code
2325 * testsuite/libgomp.dg/omp_matvec.c: Likewise.
2326 * testsuite/libgomp.dg/omp_orphan.c: Likewise
2327 * testsuite/libgomp.dg/omp_reduction.c: Likewise
2328 * testsuite/libgomp.dg/omp_workshare1.c: Likewise
2329 * testsuite/libgomp.dg/omp_workshare2.c: Likewise
2330 * testsuite/libgomp.dg/omp_workshare3.c: Likewise
2331 * testsuite/libgomp.dg/omp_workshare4.c: Likewise
2333 2005-07-07 Eric Christopher <echristo@redhat.com>
2334 Diego Novillo <dnovillo@redhat.com>
2336 * testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS.
2337 * testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix
2339 * testsuite/libgomp.dg/omp_matvec.c: Ditto.
2340 * testsuite/libgomp.dg/omp_orphan.c: Ditto.
2341 * testsuite/libgomp.dg/omp_reduction.c: Ditto.
2342 * testsuite/libgomp.dg/omp_workshare1.c: Ditto.
2343 * testsuite/libgomp.dg/omp_workshare2.c: Ditto.
2344 * testsuite/libgomp.dg/omp_workshare3.c: Ditto.
2345 * testsuite/libgomp.dg/omp_workshare4.c: Ditto.
2347 2005-06-13 Diego Novillo <dnovillo@redhat.com>
2349 * TOPLEVEL.patch: Remove.
2351 2005-05-16 Richard Henderson <rth@redhat.com>
2353 * configure.ac: Test for clock_gettime.
2354 * config.h.in, configure: Rebuild.
2355 * config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern.
2356 (omp_get_wtime): Use clock_gettime if available.
2357 (omp_get_wtick): Use clock_getres if available.
2359 2005-05-11 Richard Henderson <rth@redhat.com>
2361 * config/linux/ia64/futex.h: New file.
2362 * configure.tgt: Use it.
2364 * team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline.
2366 2005-05-07 Richard Henderson <rth@redhat.com>
2368 * config/linux/powerpc/futex.h: New file.
2369 * configure.tgt: Use it.
2371 * config/linux/i486/futex.h: Merge ...
2372 * config/linux/x86_64/futex.h: ... into ...
2373 * config/linux/x86/futex.h: ... here.
2374 * configure.tgt: Update to match.
2376 2005-05-06 Richard Henderson <rth@redhat.com>
2378 * config/linux/alpha/futex.h: Conditionally define SYS_futex.
2379 * config/linux/i486/futex.h: Likewise.
2380 * config/linux/x86_64/futex.h: Likewise.
2382 * config/linux/lock.c: New file.
2383 * config/linux/omp-lock.h: New file.
2385 * critical.c, env.h: Don't include omp.h
2386 * config/posix/lock.c: Include libgomp.h instead of omp.h.
2387 * config/posix/time.c: Likewise.
2388 * config/posix/omp-lock.h: New file.
2389 * libgomp.h: Include omp-lock.h and omp.h.
2390 * Makefile.am (nodist_include_HEADERS): New.
2392 * configure.ac (PERL): New.
2393 * mkomp_h.pl: New file.
2394 * omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t
2396 * Makefile.in, configure, testsuite/Makefile.in: Rebuild.
2398 * testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into
2399 build directory. Re-add -march=i486 hack.
2401 * testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove.
2402 (libgomp_link_flags): Remove.
2403 (libgomp_initialized): Remove.
2404 (libgomp_init): Don't protect from reinitialization. Copy code
2405 from libstdc++ for getting the multilib set correctly.
2407 2005-05-05 Richard Henderson <rth@redhat.com>
2409 * config/linux/alpha/futex.h: New file.
2410 * configure.tgt (alpha*-*-linux*): Use it.
2412 * config/posix/mutex.c: New file.
2413 * config/posix/sem.c: Use libgomp.h.
2415 * configure.tgt (x86_64-linux): Also test CC for -m32.
2416 * config/linux/x86_64/futex.h (futex_wait): Fix r10 usage.
2418 * testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add /
2421 * Makefile.am (SUBDIRS): New.
2422 (libgomp_la_LDFLAGS): Add -lpthread.
2423 * configure.ac (AM_INIT_AUTOMAKE): Enable dependencies.
2424 * Makefile.in, aclocal.m4, config.h.in, configure: Rebuild.
2426 * libgomp_g.h: New file.
2427 * libgomp.h: Split out all public declarations to libgomp_g.h.
2428 Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN.
2429 * config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN.
2430 * config/linux/sem.h: Likewise.
2431 * config/posix/sem.h: Likewise.
2433 * Makefile.am (AM_LDFLAGS): New.
2434 (libgomp_version_script): Split out from ...
2435 (libgomp_la_LDFLAGS): ... here.
2436 (libgomp_version_info): New.
2437 * acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE.
2438 (LIBGOMP_ENABLE): New.
2439 (LIBGOMP_CHECK_LINKER_FEATURES): New.
2440 (LIBGOMP_ENABLE_SYMVERS): New.
2441 * configure.ac (AC_INIT): Version 1.0.
2442 (enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE.
2443 (enable-linux-futex): Likewise. Rename from enable-futex.
2444 (libtool_VERSION): New.
2445 (LIBGOMP_ENABLE_SYMVERS): Use it.
2446 * configure.tgt: Check with_gnu_ld wrt have_tls optimizations.
2447 * Makefile.in, aclocal.m4, configure: Rebuild.
2449 * config/linux/mutex.c: Include libgomp.h instead of mutex.h.
2450 (gomp_mutex_unlock_slow): Fix typo.
2451 * config/linux/sem.c: Similarly.
2452 (gomp_sem_post_slow): Fix typo.
2453 * config/linux/sem.h (gomp_sem_post_slow): Fix typo.
2454 * config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code.
2455 [__PIC__] (sys_futex0): Don't use tmp output in asm.
2457 * Makefile.am (AM_CFLAGS): Expand with XCFLAGS.
2458 (libgomp_la_LDFLAGS): Add top_srcdir to path.
2459 * acinclude.m4: Copy libtool.m4 stuff from libgfortran.
2460 * configure.ac: Check for getloadavg. Substitute XCFLAGS and
2461 XLDFLAGS. Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS.
2462 * configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and
2463 LDFLAGS. Pull enable_futex check to top-level.
2464 * libgomp.h: Fix sem.h and mutex.h includes. Define ATTRIBUTE_HIDDEN.
2465 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
2467 First attempt at real configury.
2468 * Makefile, config.h: Remove file.
2469 * Makefile.am, Makefile.in: New file.
2470 * acinclude.m4 aclocal.m4: New file.
2471 * configure.ac, configure.tgt, configure: New file.
2473 * config/posix/lock.c: Rename from sys-lock.c.
2474 * config/posix/mutex.h: Rename from sys-mutex.h.
2475 * config/posix/sem.c: Rename from sys-sem.c.
2476 * config/posix/sem.h: Rename from sys-sem.h.
2477 * config/posix/proc.c: Rename from sys-proc.c.
2478 * config/posix/time.c: Rename from sys-proc.c.
2480 * config/linux/mutex.c: New file.
2481 * config/linux/mutex.h: New file.
2482 * config/linux/sem.c: New file.
2483 * config/linux/sem.h: New file.
2484 * config/linux/i486/futex.h: New file.
2485 * config/linux/x86_64/futex.h: New file.
2487 2005-05-04 Richard Henderson <rth@redhat.com>
2489 * iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New.
2490 * libgomp.h: Declare them.
2491 * loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start,
2492 gomp_loop_dynamic_next, gomp_loop_guided_next): Use them.
2494 2005-05-04 Richard Henderson <rth@redhat.com>
2496 * libgomp-1 code drop
2498 2005-05-04 Richard Henderson <rth@redhat.com>
2500 * iter.c (gomp_iter_static_next): Return tri-state on 0.
2501 * ordered.c (gomp_ordered_static_next): Remove not_last argument.
2502 * libgomp.h (struct gomp_team_state): Make static_trip unsigned.
2503 (gomp_iter_static_next): Update.
2504 (gomp_ordered_static_next): Update.
2505 * loop.c (gomp_loop_static_start): Update for gomp_iter_static_next.
2506 (gomp_loop_ordered_static_start): Likewise. Exit early for a
2507 totally empty range.
2508 (gomp_loop_ordered_static_next): Refine test for calling
2509 gomp_ordered_static_next.
2510 * testsuite/ordered-1.c: Add case for more threads than iterations.
2512 * iter.c (gomp_iter_runtime_next_locked): Remove.
2513 * loop.c (gomp_loop_static_start, gomp_loop_dynamic_start,
2514 gomp_loop_guided_start, gomp_loop_ordered_static_start,
2515 gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start,
2516 gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next,
2517 gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next,
2518 gomp_loop_ordered_guided_next): Downcase name, make static, add
2519 an external alias with the old name.
2520 (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start,
2521 GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a
2522 switch and call one of the above static functions.
2523 * libgomp.h: Update.
2525 * work.c (gomp_work_share_start): Lock the mutex for !first too.
2526 * loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start,
2527 GOMP_loop_guided_start, GOMP_loop_runtime_start,
2528 GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
2529 GOMP_loop_ordered_guided_start): Update to match.
2530 * sections.c (GOMP_sections_start): Likewise.
2531 * single.c (GOMP_single_start, GOMP_single_copy_start): Likewise.
2533 * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
2534 gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//.
2535 Use bounds check instead of modulus.
2536 (gomp_ordered_sync): Split out of GOMP_ordered_start.
2537 (gomp_ordered_last): Don't sync with ordered_owner here.
2538 (gomp_ordered_next): Likewise.
2539 (gomp_ordered_static_loop_next): Likewise.
2540 * loop.c, libgomp.h: Update to match.
2542 * libgomp.h (GOMP_barrier): Declare.
2544 * testsuite/barrier-1.c: New file.
2545 * testsuite/critical-1.c: New file.
2546 * testsuite/ordered-2.c: New file.
2547 * testsuite/ordered-1.c: New file.
2548 * testsuite/sections-1.c: New file.
2549 * testsuite/single-1.c: New file.
2550 * testsuite/Makefile (TESTS): Add them.
2552 2005-05-04 Richard Henderson <rth@redhat.com>
2554 * libgomp.h (struct gomp_work_share): Add ordered_owner.
2555 * loop.c (GOMP_loop_static_start): If not the startup thread,
2556 acquire the mutex to wait for initialization complete.
2557 (GOMP_loop_ordered_static_start): Likewise.
2558 (GOMP_loop_ordered_runtime_start): Likewise.
2559 (GOMP_loop_ordered_static_first): Remove.
2560 (GOMP_loop_ordered_dynamic_first): Remove.
2561 (GOMP_loop_ordered_guided_first): Remove.
2562 (GOMP_loop_ordered_runtime_first): Remove.
2563 * ordered.c (gomp_ordered_loop_first): Post to own release when
2564 we're the first thread.
2565 (gomp_ordered_loop_last): Wait on release if not owner.
2566 (gomp_ordered_loop_next): Likewise.
2567 (gomp_ordered_static_loop_init): New.
2568 (gomp_ordered_static_loop_next): Use ordered_owner.
2569 (GOMP_ordered_start): Likewise.
2570 * work.c (gomp_new_work_share): Initialize ordered_owner.
2572 2005-05-03 Richard Henderson <rth@redhat.com>
2574 * Makefile (OPT): New.
2577 * loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New.
2578 * sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New.
2579 * libgomp.h, libgomp.map, NOTES: Update to match.
2581 * team.c (struct gomp_thread_start_data): Remove ts, fn, data.
2582 Add initialized and thr members.
2583 (gomp_thread_start): Pause when initially spawned to wait for
2584 the whole team to be created.
2585 (gomp_team_start): Release team members at the end.
2587 * testsuite/loop-1.c (N): New. Use it instead of hardcoded 100.
2588 (f_foo_1): Use GOMP_loop_end.
2589 (f_foo_2): Use GOMP_loop_end_nowait.
2591 * testsuite/loop-2.c: New file.
2592 * testsuite/Makefile (TESTS): Add it.
2594 2005-05-03 Richard Henderson <rth@redhat.com>
2596 * iter.c (gomp_iter_static_next): Fix overflow check typo.
2597 (gomp_iter_dynamic_next_locked): Fix overflow check thinko.
2598 * team.c (new_team): Initialize oldest_live_gen to 1 if no
2601 * testsuite/Makefile: New file.
2602 * testsuite/loop-1.c: New file.
2604 2005-05-03 Richard Henderson <rth@redhat.com>
2606 Initial implementation and checkin.