| 1 |
/* { dg-require-effective-target powerpc_p9modulo_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. */ |
| 5 |
/* { dg-options "-mdejagnu-cpu=power9" } */ |
| 6 |
|
| 7 |
/* Verify there is no ICE and don't check the error messages on unsupported |
| 8 |
type since they could be fragile and are not test points of this case. */ |
| 9 |
|
| 10 |
/* { dg-excess-errors "pr106736-5" } */ |
| 11 |
|
| 12 |
__vector_pair ga; |
| 13 |
void |
| 14 |
foo (__vector_pair *a) |
| 15 |
{ |
| 16 |
*a = ga; |
| 17 |
} |
| 18 |
|