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
2015-05-04 Sandra Loosemore <sandra@codesourcery.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr58554.c
blob
269171ae941688e7c96ebba5bc2f1843a71e70cf
1
/* { dg-do run } */
2
3
extern
void
abort
(
void
);
4
void
__attribute__
((
noinline
,
noclone
))
5
clear_board
(
unsigned char
*
board
,
int
board_size
)
6
{
7
int
k
;
8
for
(
k
=
0
;
k
<
421
;
k
++)
9
if
(
k
<
board_size
)
10
board
[
k
] =
3
;
11
}
12
int
main
()
13
{
14
unsigned char
board
[
421
];
15
board
[
420
] =
1
;
16
clear_board
(
board
,
420
);
17
if
(
board
[
420
] !=
1
)
18
abort
();
19
return
0
;
20
}