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
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr21173.c
blob
61459bca7e56c84b0a2b23813e7e70536b00dbf2
1
void
abort
(
void
);
2
3
char
q
;
4
void
*
a
[
2
];
5
6
void
foo
(
char
*
p
)
7
{
8
int
i
;
9
for
(
i
=
0
;
i
<
2
;
i
++)
10
a
[
i
] +=
p
- &
q
;
11
}
12
13
int
main
(
void
)
14
{
15
int
i
;
16
foo
(&
q
);
17
for
(
i
=
0
;
i
<
2
;
i
++)
18
if
(
a
[
i
])
19
abort
();
20
return
0
;
21
}