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