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
/
pr22061-1.c
blob
65375fecbc68b7d4ff85e906f00693a36fa73ab3
1
int
N
=
1
;
2
void
foo
() {}
/* Necessary to trigger the original ICE. */
3
void
bar
(
char
a
[
2
][
N
]) {
a
[
1
][
0
] =
N
; }
4
int
5
main
(
void
)
6
{
7
void
*
x
;
8
9
N
=
4
;
10
x
=
alloca
(
2
*
N
);
11
memset
(
x
,
0
,
2
*
N
);
12
bar
(
x
);
13
if
(
N
[(
char
*)
x
] !=
N
)
14
abort
();
15
exit
(
0
);
16
}