PR rtl-optimization/94740
* gcc.target/powerpc/pr94740.c: New test.
+2020-04-30 Peter Bergner <bergner@linux.ibm.com>
+
+ PR rtl-optimization/94740
+ * gcc.target/powerpc/pr94740.c: New test.
+
2020-04-30 Jakub Jelinek <jakub@redhat.com>
PR c/94842
--- /dev/null
+/* PR rtl-optimization/94740 */
+/* { dg-do compile } */
+/* { dg-require-effective-target powerpc_future_ok } */
+/* { dg-options "-O2 -mdejagnu-cpu=future -mpcrel" } */
+
+int array[8];
+int
+foo (void)
+{
+ return __builtin_bswap32 (array[1]);
+}