repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
stackalign
/
pr16660-2.c
blob
2aaff40010910a5dc0c2d195515539ce75da2518
1
/* { dg-do run } */
2
/* { dg-skip-if "Stack alignment causes use of alloca" { nvptx-*-* } } */
3
4
#include
"check.h"
5
6
typedef
__SIZE_TYPE__
size_t
;
7
#define ALIGNMENT 256
8
int
main
(
void
)
9
{
10
int
a
[
ALIGNMENT
/
sizeof
(
int
)]
__attribute__
((
aligned
(
ALIGNMENT
)));
11
check
(&
a
,
ALIGNMENT
);
12
return
0
;
13
}