X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libgomp%2FChangeLog;h=6858636c1abb1e50dc6b840ca15049f0b51aab61;hb=ab4fdb3dd343f4ce02f2f8f9b21ca0ce19d06f52;hp=5534cd6adaa1238871b58ab67dc4411b7e1608bb;hpb=14a88549539804115326818690e66a96cc937019;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 5534cd6adaa..6858636c1ab 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,421 @@ +2011-10-10 Matthias Klose + + * config/posix95: Remove empty directory. + +2011-08-26 Jakub Jelinek + + * testsuite/libgomp.fortran/threadprivate4.f90: New test. + +2011-08-19 Jakub Jelinek + + PR fortran/49792 + * testsuite/libgomp.fortran/pr49792-1.f90: New test. + * testsuite/libgomp.fortran/pr49792-2.f90: New test. + +2011-08-08 Rainer Orth + + * config/posix95/lock.c, posix95/omp-lock.h: Remove. + +2011-08-05 Rainer Orth + + PR libgomp/49965 + * testsuite/libgomp.c++/task-8.C: Replaced err by errval. + +2011-08-03 Uros Bizjak + + * config/linux/proc.h: New. + * config/linux/proc.c: Include "proc.h". Do not include . + (gomp_cpuset_popcount): Rename from cpuset_popcount. No more static. + (gomp_init_num_threads): Update call to cpuset_popcount. + (get_num_procs): Ditto. + * config/linux/affinity.c (gomp_init_affinity): Call + gomp_cpuset_popcount. + +2011-08-02 Jakub Jelinek + + PR fortran/42041 + PR fortran/46752 + * omp.h.in (omp_in_final): New prototype. + * omp_lib.f90.in (omp_in_final): New interface. + (omp_integer_kind, omp_logical_kind): Remove + and replace all its uses in the module with 4. + (openmp_version): Change to 201107. + * omp_lib.h.in (omp_sched_static, omp_sched_dynamic, + omp_sched_guided, omp_sched_auto): Use omp_sched_kind + kind for the parameters. + (omp_in_final): New external. + (openmp_version): Change to 201107. + * task.c (omp_in_final): New function. + (gomp_init_task): Initialize final_task. + (GOMP_task): Remove unused attribute from flags. Handle final + tasks. + (GOMP_taskyield): New function. + (omp_in_final): Return true if if (false) or final (true) task + or descendant of final (true). + * fortran.c (omp_in_final_): New function. + * libgomp.map (OMP_3.1): Export omp_in_final and omp_in_final_. + (GOMP_3.0): Export GOMP_taskyield. + * env.c (gomp_nthreads_var_list, gomp_nthreads_var_list_len): New + variables. + (parse_unsigned_long_list): New function. + (initialize_env): Use it for OMP_NUM_THREADS. Call parse_boolean + with "OMP_PROC_BIND". If OMP_PROC_BIND=true, call gomp_init_affinity + even if parse_affinity returned false. + * config/linux/affinity.c (gomp_init_affinity): Handle + gomp_cpu_affinity_len == 0. + * libgomp_g.h (GOMP_taskyield): New prototype. + * libgomp.h (struct gomp_task): Add final_task field. + (gomp_nthreads_var_list, gomp_nthreads_var_list_len): New externs. + * team.c (gomp_team_start): Override new task's nthreads_var icv + if list form OMP_NUM_THREADS has been used and it has value for + the new nesting level. + + * testsuite/libgomp.c/atomic-11.c: New test. + * testsuite/libgomp.c/atomic-12.c: New test. + * testsuite/libgomp.c/atomic-13.c: New test. + * testsuite/libgomp.c/atomic-14.c: New test. + * testsuite/libgomp.c/reduction-6.c: New test. + * testsuite/libgomp.c/task-5.c: New test. + * testsuite/libgomp.c++/atomic-2.C: New test. + * testsuite/libgomp.c++/atomic-3.C: New test. + * testsuite/libgomp.c++/atomic-4.C: New test. + * testsuite/libgomp.c++/atomic-5.C: New test. + * testsuite/libgomp.c++/atomic-6.C: New test. + * testsuite/libgomp.c++/atomic-7.C: New test. + * testsuite/libgomp.c++/atomic-8.C: New test. + * testsuite/libgomp.c++/atomic-9.C: New test. + * testsuite/libgomp.c++/task-8.C: New test. + * testsuite/libgomp.c++/reduction-4.C: New test. + * testsuite/libgomp.fortran/allocatable7.f90: New test. + * testsuite/libgomp.fortran/allocatable8.f90: New test. + * testsuite/libgomp.fortran/crayptr3.f90: New test. + * testsuite/libgomp.fortran/omp_atomic3.f90: New test. + * testsuite/libgomp.fortran/omp_atomic4.f90: New test. + * testsuite/libgomp.fortran/pointer1.f90: New test. + * testsuite/libgomp.fortran/pointer2.f90: New test. + * testsuite/libgomp.fortran/task4.f90: New test. + +2011-08-02 Tobias Burnus + + * libgomp.texi: Update OpenMP spec references to 3.1. + (omp_in_final,OMP_PROC_BIND): New sections. + (OMP_NUM_THREADS): Document that the value can be now a list. + (GOMP_STACKSIZE,GOMP_CPU_AFFINITY): Update @ref. + +2011-08-02 H.J. Lu + + * config/linux/x86/futex.h: Check __x86_64__ instead of + __LP64__. + +2011-07-29 Jakub Jelinek + + PR middle-end/49897 + PR middle-end/49898 + * testsuite/libgomp.c/pr49897-1.c: New test. + * testsuite/libgomp.c/pr49897-2.c: New test. + * testsuite/libgomp.c/pr49898-1.c: New test. + * testsuite/libgomp.c/pr49898-2.c: New test. + +2011-07-28 H.J. Lu + + * testsuite/lib/libgomp.exp (libgomp_init): Add -march=i486 + for ia32 instead of ilp32. + + * testsuite/libgomp.c/atomic-1.c: Require ia32 instead of ilp32. + * testsuite/libgomp.c/atomic-6.c: Likewise. + +2011-07-23 Sebastian Pop + + * testsuite/libgomp.graphite/force-parallel-1.c: Un-xfail. + * testsuite/libgomp.graphite/force-parallel-2.c: Adjust pattern. + +2011-07-25 Rainer Orth + + PR libgomp/45351 + * config/osf/sem.h: New file. + * configure.tgt (alpha*-dec-osf*): Prepend osf to config_path. + +2011-07-18 Rainer Orth + + PR target/49541 + * testsuite/lib/libgomp.exp (libgomp_init): Don't add -lgomp to + ldflags. + +2011-07-15 Jakub Jelinek + + * config/linux/wait.h (do_spin): New inline, largely copied + from do_wait, just don't do futex_wait here, instead return true if + it should be done. + (do_wait): Implement using do_spin. + * config/linux/mutex.h (gomp_mutex_lock_slow): Add an int argument + to prototype. + (gomp_mutex_lock): Use __sync_val_compare_and_swap instead of + __sync_bool_compare_and_swap, pass the oldval to + gomp_mutex_lock_slow. + * config/linux/mutex.c (gomp_mutex_lock_slow): Add oldval argument. + If all mutex contenders are just spinning and not sleeping, don't + change state to 2 unnecessarily. Optimize the loop when state has + already become 2 to use just one atomic operation per loop instead + of two. + * config/linux/ia64/mutex.h (gomp_mutex_lock_slow): Add an int argument + to prototype. + (gomp_mutex_lock): Use __sync_val_compare_and_swap instead of + __sync_bool_compare_and_swap, pass the oldval to + gomp_mutex_lock_slow. + +2011-06-22 Jakub Jelinek + + PR libgomp/49490 + * iter.c (gomp_iter_static_next): For chunk size 0 + only use n ceil/ nthreads size for the first + n % nthreads threads in the team instead of + all threads except for the last few ones which + get less work or none at all. + * iter_ull.c (gomp_iter_ull_static_next): Likewise. + * env.c (parse_schedule): If OMP_SCHEDULE doesn't have + chunk argument, set run_sched_modifier to 0 for static + resp. 1 for other kinds. If chunk argument is 0 + and not static, set value to 1. + +2011-05-19 Jakub Jelinek + + PR c++/49043 + * testsuite/libgomp.c++/pr49043.C: New test. + + PR c++/48869 + * testsuite/libgomp.c++/pr48869.C: New test. + +2011-05-06 Jakub Jelinek + + PR fortran/48894 + * fortran.c: Include limits.h. + (TO_INT): Define. + (omp_set_dynamic_8_, omp_set_num_threads_8_): Use !!*set instead of + *set. + (omp_set_num_threads_8_, omp_set_schedule_8_, + omp_set_max_active_levels_8_, omp_get_ancestor_thread_num_8_, + omp_get_team_size_8_): Use TO_INT macro. + * testsuite/libgomp.fortran/pr48894.f90: New test. + +2011-04-13 Jakub Jelinek + + PR middle-end/48591 + * testsuite/libgomp.c/pr48591.c: New test. + +2011-03-21 Rainer Orth + + PR bootstrap/48135 + * acinclude.m4 (enable_symvers): Handle --disable-symvers. + * configure: Regenerate. + +2011-02-27 Jakub Jelinek + + PR fortran/47886 + * testsuite/libgomp.fortran/task3.f90: New test. + +2011-02-24 Tobias Burnus + + * libgomp.texi (GOMP_STACKSIZE): Fix @ref to OMP_STACKSIZE. + +2011-02-23 Jakub Jelinek + + PR libgomp/47854 + * libgomp.texi (omp_get_wtime): Don't say time in the past + must be Unix Epoch. + +2011-02-18 Jakub Jelinek + + PR libgomp/47804 + * testsuite/libgomp.fortran/fortran.exp: Check for both + libquadmath.a and libquadmath.${shlib_ext}. If neither exists, + but $blddir != "", still append ${blddir}/${lang_library_path} + to ld_library_path. + +2011-02-16 Tobias Burnus + + PR libgomp/47758 + * testsuite/libgomp.fortran/fortran.exp: Check for the existence + of libquadmath.a before adding its libpath to ldflags. + +2011-02-14 Jakub Jelinek + + PR libgomp/47731 + * config/linux/futex.h (futex_wait): Pass NULL as timeout argument + to FUTEX_WAIT futex syscall. + * config/linux/wait.h: Include instead of "futex.h". + +2011-02-13 Ralf Wildenhues + + * configure: Regenerate. + +2011-01-20 Benjamin Kosnik + + PR libstdc++/36104 + * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Accept gnu variants. + +2011-01-16 Gerald Pfeifer + + * configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS. + +2010-12-14 Jakub Jelinek + + PR fortran/46874 + * libgomp.fortran/allocatable6.f90: New test. + +2010-12-06 Rainer Orth + + * acinclude.m4 (symvers_renaming): Also set if enable_symvers = no. + * configure: Regenerate. + +2010-12-06 Dave Korn + + PR target/40125 + PR lto/46695 + * configure.ac: Invoke ACX_LT_HOST_FLAGS. + * Makefile.am (libgomp_la_LDFLAGS): Use lt_host_flags. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * Makefile.in: Regenerate. + * testsuite/Makefile.in: Regenerate. + +2010-12-02 Jakub Jelinek + + PR fortran/46753 + * libgomp.fortran/pr46753.f90: New test. + + PR libgomp/43706 + * env.c (initialize_env): Default to spin count 300000 + instead of 20000000 if neither OMP_WAIT_POLICY nor GOMP_SPINCOUNT + is specified. + + PR libgomp/45240 + * parallel.c (GOMP_parallel_end): Unlock gomp_remaining_threads_lock + at the end if sync builtins aren't supported. + +2010-12-01 Rainer Orth + + * configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS. + +2010-12-01 Rainer Orth + + * testsuite/libgomp.fortran/vla8.f90: Use dg-timeout-factor 2.0. + +2010-11-24 Iain Sandoe + + * testsuite/libgomp.fortran/fortran.exp: Add paths for libquadmath. + +2010-11-16 Francois-Xavier Coudert + Tobias Burnus + + PR fortran/32049 + * configure.ac: + * configure: Regenerate. + +2010-10-06 Marcus Shawcroft + + * config/linux/futex.h: New. + * config/linux/arm/mutex.h: New. + * configure.tgt (arm*-*-linux*): Add config path. + +2010-09-30 Sebastian Pop + + * testsuite/libgomp.graphite/force-parallel-1.c: Adjust. + +2010-09-23 Tobias Burnus + + * libgomp.texi (omp_get_nested, omp_set_nested, omp_set_dynamic): + Change Fortran datatype to LOGICAL. + (omp_set_lock, omp_test_lock, omp_unset_lock, omp_set_nested_lock, + omp_unset_nested_lock): Use intent(inout) instead of intent(out). + +2010-08-21 Ralf Wildenhues + + * configure: Regenerate. + +2010-07-26 Jakub Jelinek + + * libgomp.texi: Add function keyword to a couple of Fortran + interfaces, use integer instead of int for Fortran. + +2010-07-26 Aldy Hernandez + + * libgomp.texi: Fix spelling and pasto problems throughout. + Adjust prototypes to match code. + +2010-07-24 Tobias Burnus + + * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: Add -w to + silence -fwhole-file warning. + +2010-07-23 Rainer Orth + + * configure.tgt (*-*-solaris2.[56]*): Removed. + +2010-07-05 Rainer Orth + + * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style. + Define LIBGOMP_BUILD_VERSIONED_SHLIB_GNU, + LIBGOMP_BUILD_VERSIONED_SHLIB_SUN automake conditionals. + (HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT): Define unless + targetting solaris2*. + * configure: Regenerate. + * config.h.in: Regenerate. + + * Makefile.am [LIBGOMP_BUILD_VERSIONED_SHLIB]: Protect + libgomp_version_script with LIBGOMP_BUILD_VERSIONED_SHLIB_GNU. + Add libgomp_version_dep. + [LIBGOMP_BUILD_VERSIONED_SHLIB_SUN]: Handle Sun symbol + versioning. + [!LIBGOMP_BUILD_VERSIONED_SHLIB]: Add libgomp_version_dep. + (libgomp_la_DEPENDENCIES): Set to $(libgomp_version_dep). + * Makefile.in: Regenerate. + + * libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undef unless + HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT. + * libgomp.map (OMP_1.0): Move symbols both in OMP_1.0 and OMP_3.0 + to common block, protected by + HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT. + +2010-06-10 Gerald Pfeifer + + * libgomp.texi: Move to GFDL version 1.3. Update copyright years. + +2010-06-09 Iain Sandoe + + PR bootstrap/43170 + * configure: Regenerate. + +2010-05-04 Ralf Wildenhues + + PR other/43620 + * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. + * configure: Regenerate. + * Makefile.in: Regenerate. + * testsuite/Makefile.in: Regenerate. + +2010-04-26 Jakub Jelinek + + PR c/43893 + * testsuite/libgomp.c/pr43893.c: New test. + * testsuite/libgomp.c++/pr43893.C: New test. + +2010-04-21 Jakub Jelinek + + PR middle-end/43570 + * testsuite/libgomp.fortran/vla8.f90: New test. + +2010-04-20 Jakub Jelinek + + PR libgomp/43706 + * config/linux/affinity.c (gomp_init_affinity): Decrease + gomp_available_cpus if affinity mask confines the process to fewer + CPUs. + * config/linux/proc.c (get_num_procs): If gomp_cpu_affinity is + non-NULL, just return gomp_available_cpus. + + PR libgomp/43569 + * sections.c (gomp_sections_init): Initialize ws->mode. + 2010-04-14 Uros Bizjak * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Remove set but