1 /* PR rtl-optimization/94740 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target power10_ok } */
4 /* { dg-options "-O2 -mdejagnu-cpu=power10" } */
5 
6 int array[8];
7 int
foo(void)8 foo (void)
9 {
10   return __builtin_bswap32 (array[1]);
11 }
12