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
2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr33434-2.c
blob
7dd614c0af6beb68c399d43c3cbbd46d555ba470
1
/* PR tree-optimization/33434 */
2
/* { dg-do run } */
3
/* { dg-options "-O2" } */
4
5
int
k
;
6
7
void
f1
(
int
a
)
8
{
9
int
b
;
10
a
=
1
;
11
b
=
1
;
12
if
(
a
)
13
while
(
b
--)
14
k
=
1
;
15
else
16
if
(
b
!=
1
)
17
__builtin_abort
();
18
}
19
20
int
main
(
void
)
21
{
22
f1
(
1
);
23
if
(
k
!=
1
)
24
__builtin_abort
();
25
return
0
;
26
}