re PR rtl-optimization/71984 (wrong code with -O -mavx512cd)
authorRichard Biener <rguenther@suse.de>
Thu, 4 Aug 2016 07:02:47 +0000 (07:02 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 4 Aug 2016 07:02:47 +0000 (07:02 +0000)
2016-08-04  Richard Biener  <rguenther@suse.de>

PR middle-end/71984
* gcc.dg/torture/pr71984.c: Guard correctness check for
little-endian.

From-SVN: r239114

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr71984.c

index e7911239d55da7ef20d7f0bde87516ffdf42046d..df48f68924dd86cc590d2d79d8780d82868a77d0 100644 (file)
@@ -1,3 +1,9 @@
+2016-08-04  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/71984
+       * gcc.dg/torture/pr71984.c: Guard correctness check for
+       little-endian.
+
 2016-08-03  Andrew Pinski  <apinski@cavium.com>
 
        * gcc.c-torture/compile/20160802-1.c: New testcase.
index e1dd04bc568f08b4616a8cc38c7ab9d42c5b9217..7afdd77faa948aea0ac9cd4460d64a0cb6ea9cb8 100644 (file)
@@ -15,7 +15,9 @@ int
 main ()
 {
   u8 x = foo((v64u64){0x0706050403020100UL});
+#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
   if (x != 5)
     __builtin_abort ();
+#endif
   return 0;
 }