c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr106736-4.c
blob4b366416b0a07502c557bdb02ef34f97e53fbd48
1 /* { dg-require-effective-target powerpc_p9modulo_ok } */
2 /* If the default cpu type is power10 or later, type __vector_quad 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" } */
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. */
10 /* { dg-excess-errors "pr106736-4" } */
12 __vector_quad ga;
13 __vector_quad gb;
14 void
15 foo ()
17 gb = ga;