re PR target/81143 (New test case gcc.target/powerpc/pr79799-2.c fails on powerpc BE)

PR target/81143
	* gcc.target/powerpc/pr79799-2.c: Use __LITTLE_ENDIAN__.

From-SVN: r257504
This commit is contained in:
Peter Bergner 2018-02-08 14:40:32 -06:00 committed by Peter Bergner
parent a7f8415c05
commit 2318f3b46e
2 changed files with 6 additions and 1 deletions

View 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

View 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