Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / darwin-save-world-1.c
blob452060e9f61480e18c162dfa76a612d30917bd68
1 /* { dg-do run { target powerpc*-*-* } } */
2 /* { dg-require-effective-target powerpc_altivec_ok } */
3 /* { dg-options "-maltivec" } */
5 /* With altivec turned on, Darwin wants to save the world but we did not mark lr as being saved any more
6 as saving the lr is not needed for saving altivec registers. */
8 int main (void)
10 __label__ l1;
11 void __attribute__((used)) q(void)
13 goto l1;
16 l1:;
17 return 0;