1 /* { dg-do run } */ 2 /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */ 3 4 #include "check.h" 5 6 #ifndef ALIGNMENT 7 #define ALIGNMENT 64 8 #endif 9 10 typedef int aligned __attribute__((aligned(ALIGNMENT))); 11 12 int n; 13 14 void g(void)15g (void) 16 { 17 __label__ lab; 18 void h (void) 19 { 20 aligned t; 21 if (check_int (&t, __alignof__(t)) != t) 22 abort (); 23 if (n+t == 0) goto lab; 24 } 25 h(); 26 lab: 27 return; 28 } 29 main()30int main() 31 { 32 g(); 33 return 0; 34 } 35