blob: 4d18ba9ad397ca843236e72251f184e0431a7507 (
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
35
|
/* { dg-do run } */
/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
/* { dg-require-effective-target nonlocal_goto } */
#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;
}
|