]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Darwin, PPC, testsuite] Fix pr80125 testcase for Darwin.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 5 Sep 2019 19:47:27 +0000 (19:47 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Thu, 5 Sep 2019 19:47:27 +0000 (19:47 +0000)
Darwin (unlike most of the members of the PowerPC port family)
defaults to signed chars, so the test was failing to compile with
a "mismatched parameters" error.

2019-09-05  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline.
2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.target/powerpc/pr80125.c (foo): Use an unsigned char
vector explicitly for the vec_perm.

From-SVN: r275437

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr80125.c

index 8c8cbae60a6c7251172d523ee2b0cd201e1b8c4b..2a0d780a80f8d3a58a2750eb37558a57a3ce08a3 100644 (file)
@@ -1,3 +1,11 @@
+2019-09-05  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backport from mainline.
+       2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * gcc.target/powerpc/pr80125.c (foo): Use an unsigned char
+       vector explicitly for the vec_perm.
+
 2019-09-05  Iain Sandoe  <iain@sandoe.co.uk>
 
        Backport from mainline.
@@ -7,7 +15,7 @@
        expect the out-of-line GPR restore, and test specifically for
        absence of branches to local labels.
 
-2019-08-05  Iain Sandoe  <iain@sandoe.co.uk>
+2019-09-05  Iain Sandoe  <iain@sandoe.co.uk>
 
        Backport from mainline.
        2019-06-22  Iain Sandoe  <iain@sandoe.co.uk>
@@ -15,7 +23,7 @@
        * gcc.target/powerpc/pr64205.c: Require effective target dfp.
        * gcc.target/powerpc/pr79909.c: Likewise.
 
-2019-08-05  Iain Sandoe  <iain@sandoe.co.uk>
+2019-09-05  Iain Sandoe  <iain@sandoe.co.uk>
 
        Backport from mainline.
        2019-06-22  Iain Sandoe  <iain@sandoe.co.uk>
index 494a6e673b1372e413c6812b626187b49178f2ef..366602d966855e846c39338a0fba255990252c27 100644 (file)
@@ -16,7 +16,7 @@ foo ()
   vector int k = vec_mergel (i, j);
   vector int l = vec_sl (k, c);
   vector int m = vec_sl (l, d);
-  vector char o;
+  vector unsigned char o;
   vector int p = vec_perm (m, n, o);
   e = vec_sra (p, c);
   vec_st (e, 0, a);