From: | "Bernard Cafarelli (voyageur)" <voyageur@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-devel/llvm/files: llvm-3.5.2-gcc-5.1.patch |
Date: | Mon, 29 Jun 2015 11:58:27 |
Message-Id: | 20150629115805.707E573F@oystercatcher.gentoo.org |
1 | voyageur 15/06/29 11:58:05 |
2 | |
3 | Added: llvm-3.5.2-gcc-5.1.patch |
4 | Log: |
5 | Fix compilation with gcc 5.1, bug #550716 (3.6 and later include the fix) |
6 | |
7 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 00F7AB331B0F097F) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-devel/llvm/files/llvm-3.5.2-gcc-5.1.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/files/llvm-3.5.2-gcc-5.1.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/files/llvm-3.5.2-gcc-5.1.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: llvm-3.5.2-gcc-5.1.patch |
16 | =================================================================== |
17 | Index: include/llvm/ADT/IntrusiveRefCntPtr.h |
18 | =================================================================== |
19 | --- include/llvm/ADT/IntrusiveRefCntPtr.h (revision 218294) |
20 | +++ include/llvm/ADT/IntrusiveRefCntPtr.h (revision 218295) |
21 | @@ -197,6 +197,9 @@ |
22 | private: |
23 | void retain() { if (Obj) IntrusiveRefCntPtrInfo<T>::retain(Obj); } |
24 | void release() { if (Obj) IntrusiveRefCntPtrInfo<T>::release(Obj); } |
25 | + |
26 | + template <typename X> |
27 | + friend class IntrusiveRefCntPtr; |
28 | }; |
29 | |
30 | template<class T, class U> |