Handle T_HRESULT types in CodeView records
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / darwin-save-world-1.c
blob27fc1d30a8bb725bf490d47bdc4878989e6c0f44
1 /* { dg-do run { target powerpc*-*-* } } */
2 /* { dg-options "-maltivec" } */
3 /* { dg-require-effective-target powerpc_altivec } */
4 /* { dg-skip-if "need to be able to execute AltiVec" { ! vmx_hw } } */
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. */
9 int main (void)
11 __label__ l1;
12 void __attribute__((used)) q(void)
14 goto l1;
17 l1:;
18 return 0;