1 /* PR c++/97947 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target power10_ok } */
4 /* { dg-options "-O2 -mdejagnu-cpu=power10" } */
5 
6 /* Verify we do not ICE on the test below.  */
7 
8 void
bug(__vector_pair * src)9 bug (__vector_pair *src)
10 {
11   volatile __vector_pair dd = *src;
12 }
13