(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
pr108348-2.c
       1  /* { dg-require-effective-target powerpc_altivec_ok } */
       2  /* If the default cpu type is power10 or later, type __vector_pair is
       3     supported.  To keep the test point available all the time, this case
       4     specifies -mdejagnu-cpu=power9 here.  This needs -mabi=no-altivec
       5     to do the copying for pass-by-reference function argument on 32 bit
       6     environment.  */
       7  /* { dg-options "-mdejagnu-cpu=power9 -mabi=no-altivec" } */
       8  
       9  /* Verify there is no ICE on 32 bit and don't check the error messages
      10     on unsupported type since they could be fragile and are not test
      11     points of this case.  */
      12  
      13  /* { dg-excess-errors "pr108348-2" } */
      14  
      15  extern void bar (__vector_pair v);
      16  
      17  void
      18  foo (void)
      19  {
      20    __vector_pair v;
      21    bar (v);
      22  }
      23