re PR target/81143 (New test case gcc.target/powerpc/pr79799-2.c fails on powerpc BE)
authorPeter Bergner <bergner@vnet.ibm.com>
Thu, 8 Feb 2018 20:40:32 +0000 (14:40 -0600)
committerPeter Bergner <bergner@gcc.gnu.org>
Thu, 8 Feb 2018 20:40:32 +0000 (14:40 -0600)
PR target/81143
* gcc.target/powerpc/pr79799-2.c: Use __LITTLE_ENDIAN__.

From-SVN: r257504

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr79799-2.c

index c51d2dd912e3a59e214610036fb0f68ce32dba05..522af52e008b58b67af7f0b571fa363b5d88f32e 100644 (file)
@@ -1,3 +1,8 @@
+2018-02-08  Peter Bergner  <bergner@vnet.ibm.com>
+
+       PR target/81143
+       * gcc.target/powerpc/pr79799-2.c: Use __LITTLE_ENDIAN__.
+
 2018-02-08  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/83806
index 793e3b9b66c0623ef07ff909082f86430b01c650..b1a0b09cbf7f0115e7ce178755868066f65ab579 100644 (file)
@@ -8,7 +8,7 @@
 /* Optimize x = vec_insert (vec_extract (v2, N), v1, M) for SFmode if N is the default
    scalar position.  */
 
-#if __ORDER_LITTLE_ENDIAN__
+#if __LITTLE_ENDIAN__
 #define ELE 2
 #else
 #define ELE 1