aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/pr108272-3.c
blob: 634a529b5c8a99195856a5f17acb77e52a17a110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-require-effective-target powerpc_p9modulo_ok } */
/* If the default cpu type is power10 or later, type __vector_quad is
   supported.  To keep the test point available all the time, this case
   specifies -mdejagnu-cpu=power9 here.  */
/* { dg-options "-mdejagnu-cpu=power9" } */

/* Verify there is no ICE and don't check the error messages on unsupported
   type since they could be fragile and are not test points of this case.  */

/* { dg-excess-errors "pr108272-3" } */

void
foo (void)
{
  volatile __vector_quad acc;
  asm("#..." : "=d"(acc));
}