aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/49_all_gcc-4.7-x86-libitm-pr52695.patch
blob: e1eb2e6ab1ceccb154014ee72cb1611fe19a3c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
http://gcc.gnu.org/PR52695
https://bugs.gentoo.org/421305

fix building on x86 systems

--- a/libitm/config/x86/target.h
+++ b/libitm/config/x86/target.h
@@ -69,16 +69,4 @@
 } // namespace GTM
 
 // We'll be using some of the cpu builtins, and their associated types.
-#ifndef __cplusplus
-/* ??? It's broken for C++. */
 #include <x86intrin.h>
-#else
-# ifdef __SSE2__
-#  include <emmintrin.h>
-# elif defined(__SSE__)
-#  include <xmmintrin.h>
-# endif
-# ifdef __AVX__
-#  include <immintrin.h>
-# endif
-#endif