From: Mark Wielaard Date: Wed, 2 Sep 2015 15:43:31 +0000 (+0000) Subject: Bug 351873 Newer gcc doesn't allow __builtin_tabortdc[i] in ppc32 mode. X-Git-Tag: svn/VALGRIND_3_11_0~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4d7d70d2a862f7b63ce32af4cf3166470f57879;p=thirdparty%2Fvalgrind.git Bug 351873 Newer gcc doesn't allow __builtin_tabortdc[i] in ppc32 mode. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15615 --- diff --git a/NEWS b/NEWS index effa38684b..8a79369c00 100644 --- 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. diff --git a/none/tests/ppc64/test_touch_tm.c b/none/tests/ppc64/test_touch_tm.c index 6c0431dce4..57f89bb455 100644 --- a/none/tests/ppc64/test_touch_tm.c +++ b/none/tests/ppc64/test_touch_tm.c @@ -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);