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
Merge from trunk
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr52714.c
blob
03d49908912b2b72dfa92a2ced56ace38825ea7a
1
2
int
__re_compile_fastmap
(
unsigned char
*
p
)
3
{
4
unsigned char
**
stack
;
5
unsigned
size
;
6
unsigned
avail
;
7
8
stack
=
__builtin_alloca
(
5
*
sizeof
(
unsigned char
*));
9
if
(
stack
==
0
)
10
return
-
2
;
11
size
=
5
;
12
avail
=
0
;
13
14
for
(;;) {
15
switch
(*
p
++) {
16
case
0
:
17
if
(
avail
==
size
)
18
return
-
2
;
19
stack
[
avail
++] =
p
;
20
}
21
}
22
23
return
0
;
24
}
25