patches/gcc/4.7.3/000-libitm-fix-definition-of-__m64.patch
author Bernhard Walle <bernhard@bwalle.de>
Sun May 11 13:00:36 2014 +0200 (2014-05-11)
changeset 3318 579bc9107f99
permissions -rw-r--r--
complibs/ppl: Fix build of ppl 0.11.2 with gcc 4.9

From: Roberto Bagnara <bagnara@cs.unipr.it>
Date: Tue, 29 Apr 2014 19:51:43 +0000 (+0200)
Subject: Added missing inclusions. Use std::ptrdiff_t.
X-Git-Url: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl%2Fppl.git;a=commitdiff;h=61d4e14dfd9f1121e9b4521dead5728b2424dd7c

Added missing inclusions. Use std::ptrdiff_t.
(Thanks to Paulo Cesar Pereira de Andrade.)

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Message-Id: <5632a171e7c1dc4c0fb5.1399806148@euler.fritz.box>
Patchwork-Id: 347777
     1 From 3d27d47fbebdb1be3d35e398a7c042a930f64aa6 Mon Sep 17 00:00:00 2001
     2 From: Richard Braun <rbraun@sceen.net>
     3 Date: Mon, 26 Nov 2012 11:36:17 +0100
     4 Subject: [PATCH] libitm: fix definition of __m64
     5 
     6 See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52695 for details.
     7 ---
     8  libitm/config/x86/target.h |    3 +++
     9  1 files changed, 3 insertions(+), 0 deletions(-)
    10 
    11 diff --git a/libitm/config/x86/target.h b/libitm/config/x86/target.h
    12 index 5c7e6fb..6254d8a 100644
    13 --- a/libitm/config/x86/target.h
    14 +++ b/libitm/config/x86/target.h
    15 @@ -73,6 +73,9 @@ cpu_relax (void)
    16  /* ??? It's broken for C++. */
    17  #include <x86intrin.h>
    18  #else
    19 +# ifdef __MMX__
    20 +#  include <mmintrin.h>
    21 +# endif
    22  # ifdef __SSE2__
    23  #  include <emmintrin.h>
    24  # elif defined(__SSE__)
    25 -- 
    26 1.7.2.5
    27