1 /* { dg-do run { target powerpc*-*-* } } */
2 /* { dg-require-effective-target powerpc_altivec_ok } */
3 /* { dg-skip-if "need to be able to execute AltiVec" { ! { powerpc_altivec_ok && vmx_hw } } } */
4 /* { dg-options "-maltivec" } */
5
6 /* With altivec turned on, Darwin wants to save the world but we did not mark lr as being saved any more
7 as saving the lr is not needed for saving altivec registers. */
8
main(void)9 int main (void)
10 {
11 __label__ l1;
12 void __attribute__((used)) q(void)
13 {
14 goto l1;
15 }
16
17 l1:;
18 return 0;
19 }
20