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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188624
138bc75d-0d04-0410-961f-
82ee72b054a4
+2012-06-14 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from mainline
+ 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-06-14 Release Manager
* GCC 4.7.1 released.
-/* Copyright (C) 2005, 2008, 2009, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2005, 2008, 2009, 2011, 2012 Free Software Foundation, Inc.
Contributed by Richard Henderson <rth@redhat.com>.
This file is part of the GNU OpenMP Library (libgomp).
Contributed by Richard Henderson <rth@redhat.com>.
This file is part of the GNU OpenMP Library (libgomp).
void
gomp_init_nest_lock_25 (omp_nest_lock_25_t *lock)
{
void
gomp_init_nest_lock_25 (omp_nest_lock_25_t *lock)
{
- memset (lock, 0, sizeof (lock));
+ memset (lock, 0, sizeof (*lock));