repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20040805-1.c
blob
f09fc49a26884c49e8f33c3a3be808277a0f1713
1
#if __INT_MAX__ < 32768 || (defined(STACK_SIZE) && STACK_SIZE < 0x12000)
2
int
main
() {
exit
(
0
); }
3
#else
4
int
a
[
2
] = {
2
,
3
};
5
6
static int
__attribute__
((
noinline
))
7
bar
(
int
x
,
void
*
b
)
8
{
9
a
[
0
]++;
10
return
x
;
11
}
12
13
static int
__attribute__
((
noinline
))
14
foo
(
int
x
)
15
{
16
char
buf
[
0x10000
];
17
int
y
=
a
[
0
];
18
a
[
1
] =
y
;
19
x
=
bar
(
x
,
buf
);
20
y
=
bar
(
y
,
buf
);
21
return
x
+
y
;
22
}
23
24
int
25
main
()
26
{
27
if
(
foo
(
100
) !=
102
)
28
abort
();
29
exit
(
0
);
30
}
31
#endif