components/gcc49/patches/003-ptrlock.h.patch
changeset 6923 338aea22bf22
parent 6922 499ba999c1ee
child 6924 e8aaad6b5075
--- a/components/gcc49/patches/003-ptrlock.h.patch	Tue Jul 05 09:31:58 2016 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-# Stefan Teleman <[email protected]>
-# Make sure this struct is always aligned on 8.
-# Internal patch. Submitted upstream. Status pending.
---- libgomp/config/posix/ptrlock.h	2014-01-02 17:25:54.000000000 -0500
-+++ libgomp/config/posix/ptrlock.h	2014-11-19 08:35:00.554310487 -0500
-@@ -28,7 +28,10 @@
- #ifndef GOMP_PTRLOCK_H
- #define GOMP_PTRLOCK_H 1
- 
--typedef struct { void *ptr; gomp_mutex_t lock; } gomp_ptrlock_t;
-+typedef struct {
-+  void *ptr;
-+  gomp_mutex_t lock;
-+} gomp_ptrlock_t __attribute__((__aligned__(8)));
- 
- static inline void gomp_ptrlock_init (gomp_ptrlock_t *ptrlock, void *ptr)
- {