]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Bug 351873 Newer gcc doesn't allow __builtin_tabortdc[i] in ppc32 mode.
authorMark Wielaard <mark@klomp.org>
Wed, 2 Sep 2015 15:43:31 +0000 (15:43 +0000)
committerMark Wielaard <mark@klomp.org>
Wed, 2 Sep 2015 15:43:31 +0000 (15:43 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15615

NEWS
none/tests/ppc64/test_touch_tm.c

diff --git a/NEWS b/NEWS
index effa38684b3a40629605b7b4a9b6dc5872699726..8a79369c00e073c5a0d6388622c7cb884d9c234d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -362,6 +362,7 @@ where XXXXXX is the bug number as listed below.
 351534  Fix incorrect header guard
 351756  Intercept platform_memchr$VARIANT$Haswell on OS X
 351858  ldsoexec support on Solaris
+351873  Newer gcc doesn't allow __builtin_tabortdc[i] in ppc32 mode
 n-i-bz  Provide implementations of certain compiler builtins to support
         compilers that may not provide those
 n-i-bz  Old STABS code is still being compiled, but never used. Remove it.
index 6c0431dce4fa0417772bd13ceadd3b36b6da52fa..57f89bb4559b226897084704e6232df2d52acf2e 100644 (file)
@@ -8,8 +8,10 @@ int main (void) {
     * The rest are just treated as NOPS.
     */
    __builtin_tabort (0);
+#ifdef __PPC64__
    __builtin_tabortdc (0,0,0);
    __builtin_tabortdci (0,0,0);
+#endif
    __builtin_tabortwc (0,0,0);
    __builtin_tabortwci (0,0,0);
    __builtin_tbegin (0);