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
* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr67787.c
blob
9d132488d45ec9acb90f4aebcc27a2af4aee34a8
1
/* { dg-do run } */
2
/* { dg-options "-O3" } */
3
4
int
a
,
c
,
f
,
g
;
5
char
b
;
6
7
static int
8
fn1
()
9
{
10
char
h
;
11
int
k
= -
1
,
i
,
j
;
12
for
(;
b
<
16
;
b
++)
13
;
14
__builtin_printf
(
" "
);
15
if
(
b
<
5
)
16
k
++;
17
if
(
k
)
18
{
19
int
l
=
2
;
20
a
=
h
=
b
<
0
||
b
> (
127
>>
l
) ?
b
:
b
<<
1
;
21
return
0
;
22
}
23
for
(
i
=
0
;
i
<
1
;
i
++)
24
for
(
j
=
0
;
j
<
7
;
j
++)
25
f
=
0
;
26
for
(
c
=
0
;
c
;
c
++)
27
;
28
if
(
g
)
29
for
(;;)
30
;
31
return
0
;
32
}
33
34
int
35
main
()
36
{
37
fn1
();
38
39
if
(
a
!=
32
)
40
__builtin_abort
();
41
42
return
0
;
43
}