OSDN Git Service

libgomp: Fix default futex vs errno
[pf3gnuchains/gcc-fork.git] / libgomp / ChangeLog
index df3cf60..8d3bc35 100644 (file)
@@ -1,3 +1,201 @@
+2014-04-02  Richard Henderson  <rth@redhat.com>
+
+       * config/linux/futex.h (futex_wait): Get error value from errno.
+       (futex_wake): Likewise.
+
+2013-04-11  Release Manager
+
+       * GCC 4.7.3 released.
+
+2013-02-19  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from mainline
+       2013-02-06  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/56217
+       * testsuite/libgomp.c++/pr56217.C: New test.
+
+2013-01-22  Alan Modra  <amodra@gmail.com>
+
+       PR libgomp/51376
+       PR libgomp/56073
+       * task.c (GOMP_task): Revert 2011-12-09 change.
+       (GOMP_taskwait): Likewise.  Instead use atomic load with acquire
+       barrier to read task->children..
+       (gomp_barrier_handle_tasks): ..and matching atomic store with
+       release barrier here when setting parent->children to NULL.
+
+2012-11-21  Jakub Jelinek  <jakub@redhat.com>
+
+       PR libgomp/55411
+       * team.c (gomp_free_thread): Decrease gomp_managed_threads
+       if pool had any threads_used.
+
+2012-09-20  Release Manager
+
+       * GCC 4.7.2 released.
+
+2012-06-14  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from mainline
+       2012-06-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/53580
+       * testsuite/libgomp.c/pr26943-2.c: Remove #pragma omp barrier,
+       use GOMP_barrier () call instead.
+       * testsuite/libgomp.c/pr26943-3.c: Likewise.
+       * testsuite/libgomp.c/pr26943-4.c: Likewise.
+       * testsuite/libgomp.fortran/vla4.f90: Remove !$omp barrier,
+       call GOMP_barrier instead.
+       * testsuite/libgomp.fortran/vla5.f90: Likewise.
+
+       2012-06-06  Jakub Jelinek  <jakub@redhat.com>
+
+       PR libgomp/52993
+       * config/linux/lock.c (gomp_init_nest_lock_25): Fix up last
+       argument to memset call.
+
+2012-06-14  Release Manager
+
+       * GCC 4.7.1 released.
+
+2012-03-22  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/52547
+       * testsuite/libgomp.c/pr52547.c: New test.
+
+2012-03-22  Release Manager
+
+       * GCC 4.7.0 released.
+
+2012-02-29  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/linux/sparc/futex.h (cpu_relax): Read from CC register.
+
+2012-02-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR libstdc++/52188
+       * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Remove symvers_renaming.
+       Remove ENABLE_SYMVERS_SOL2.
+       * configure: Regenerate.
+       * Makefile.am [LIBGOMP_BUILD_VERSIONED_SHLIB] (comma): New variable.
+       (PREPROCESS): New variable.
+       (libgomp.ver): New target.
+       [LIBGOMP_BUILD_VERSIONED_SHLIB &&
+       LIBGOMP_BUILD_VERSIONED_SHLIB_GNU]: Remove
+       LIBGOMP_BUILD_VERSIONED_SHLIB_SOL2 handling.
+       Use libgomp.ver.
+       [LIBGOMP_BUILD_VERSIONED_SHLIB_SUN]: Use libgomp.ver, libgomp.ver-sun.
+       * Makefile.in: Regenerate.
+
+2012-02-14  Walter Lee  <walt@tilera.com>
+
+       * configure.tgt: Handle tilegx and tilepro.
+       * config/linux/tile/futex.h: New file.
+
+2012-02-08  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/46886
+       * testsuite/libgomp.c/pr46886.c: New testcase.
+
+2012-01-25  Matthias Klose  <doko@ubuntu.com>
+
+       * config/linux/arm: Remove empty directory.
+       * configure.tgt (config_path): Remove linux-arm for arm*-*-linux*.
+
+2011-12-09  Alan Modra  <amodra@gmail.com>
+
+       PR libgomp/51376
+       * task.c (GOMP_taskwait): Don't access task->children outside of
+       task_lock mutex region.
+       (GOMP_task): Likewise.
+
+2011-12-06  Jakub Jelinek  <jakub@redhat.com>
+
+       PR libgomp/51132
+       * testsuite/libgomp.graphite/force-parallel-1.c: Move large arrays
+       to file scope.
+       * testsuite/libgomp.graphite/force-parallel-3.c: Likewise.
+       * testsuite/libgomp.graphite/force-parallel-6.c: Likewise.
+       * testsuite/libgomp.graphite/force-parallel-7.c: Likewise.
+       * testsuite/libgomp.graphite/force-parallel-8.c: Likewise.
+       * testsuite/libgomp.graphite/force-parallel-9.c: Likewise.
+
+2011-12-02  Alan Modra  <amodra@gmail.com>
+
+       * config/linux/affinity.c: Use atomic rather than sync builtin.
+       * config/linux/lock.c: Likewise.
+       * config/linux/ptrlock.h: Likewise.
+       * config/linux/ptrlock.c: Likewise.
+       * config/linux/ptrlock.h (gomp_ptrlock_set): Always write here..
+       * config/linux/ptrlock.c (gomp_ptrlock_set_slow): ..not here.
+       * config/linux/futex.h (atomic_write_barrier): Delete unused function.
+       * config/linux/alpha/futex.h (atomic_write_barrier): Likewise.
+       * config/linux/ia64/futex.h (atomic_write_barrier): Likewise.
+       * config/linux/mips/futex.h (atomic_write_barrier): Likewise.
+       * config/linux/powerpc/futex.h (atomic_write_barrier): Likewise.
+       * config/linux/s390/futex.h (atomic_write_barrier): Likewise.
+       * config/linux/sparc/futex.h (atomic_write_barrier): Likewise.
+       * config/linux/x86/futex.h (atomic_write_barrier): Likewise.
+
+2011-11-30  Alan Modra  <amodra@gmail.com>
+
+       PR libgomp/51298
+       * config/linux/bar.h: Use atomic rather than sync builtins.
+       * config/linux/bar.c: Likewise.  Add missing acquire
+       synchronisation on generation field.
+       * task.c (gomp_barrier_handle_tasks): Regain lock so as to not
+       double unlock.
+
+2011-11-30  Alan Modra  <amodra@gmail.com>
+
+       * ordered.c (gomp_ordered_sync): Add MEMMODEL_ACQ_REL fence.
+       * critical.c (GOMP_critical_start): Add MEMMODEL_RELEASE fence.
+       * config/linux/mutex.h: Use atomic rather than sync builtins.
+       * config/linux/mutex.c: Likewise.  Comment.  Use -1 for waiting state.
+       * config/linux/omp-lock.h: Comment fix.
+       * config/linux/arm/mutex.h: Delete.
+       * config/linux/powerpc/mutex.h: Delete.
+       * config/linux/ia64/mutex.h: Delete.
+       * config/linux/mips/mutex.h: Delete.
+
+2011-11-30  Alan Modra  <amodra@gmail.com>
+
+       PR libgomp/51249
+       * config/linux/sem.h: Rewrite.
+       * config/linux/sem.c: Rewrite.
+
+2011-11-28  Richard Henderson  <rth@redhat.com>
+
+       * libgomp.h (enum memmodel): New.
+
+2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
+
+       * configure: Regenerate.
+
+2011-10-10  Matthias Klose  <doko@ubuntu.com>
+
+       * config/posix95: Remove empty directory.
+
+2011-08-26  Jakub Jelinek  <jakub@redhat.com>
+
+       * testsuite/libgomp.fortran/threadprivate4.f90: New test.
+
+2011-08-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR fortran/49792
+       * testsuite/libgomp.fortran/pr49792-1.f90: New test.
+       * testsuite/libgomp.fortran/pr49792-2.f90: New test.
+
+2011-08-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config/posix95/lock.c, posix95/omp-lock.h: Remove.
+
+2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR libgomp/49965
+       * testsuite/libgomp.c++/task-8.C: Replaced err by errval.
+
 2011-08-03  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/linux/proc.h: New.
            Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/32049
-       * configure.ac: 
+       * configure.ac:
        * configure: Regenerate.
 
 2010-10-06  Marcus Shawcroft  <marcus.shawcroft@arm.com>
        (gomp_new_thread_pool, gomp_free_pool_helper, gomp_free_thread): New
        functions.
        (gomp_team_start): Create new pool if current thread doesn't have
-       one.  Use pool fields instead of global gomp_* variables. 
+       one.  Use pool fields instead of global gomp_* variables.
        Initialize thread_pool field for new threads.  Clear single_count.
        Change last argument from ws to team, don't create
        new team, set ts.work_share to &team->work_shares[0] and clear
        inlines.
        * config/posix/bar.c (gomp_barrier_init): Clear generation field.
        (gomp_barrier_wait_end): Change second argument to
-       gomp_barrier_state_t. 
+       gomp_barrier_state_t.
        (gomp_team_barrier_wait, gomp_team_barrier_wait_end,
        gomp_team_barrier_wake): New functions.
        * config/linux/mutex.c: Include wait.h instead of libgomp.h and