c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr108348-1.c
blob630980ec936ce218acff54f4602cc35aca7c2a18
1 /* { dg-options "-mdejagnu-cpu=power9 -mabi=no-altivec" } */
2 /* { dg-require-effective-target powerpc_altivec } */
3 /* If the default cpu type is power10 or later, type __vector_quad is
4 supported. To keep the test point available all the time, this case
5 specifies -mdejagnu-cpu=power9 here. This needs -mabi=no-altivec
6 to do the copying for pass-by-reference function argument on 32 bit
7 environment. */
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. */
13 /* { dg-excess-errors "pr108348-1" } */
15 extern void bar (__vector_quad v);
17 void
18 foo (void)
20 __vector_quad v;
21 bar (v);