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
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr83581.c
blob
c145effb88a5a416d3fc5b2ce2ecbb959161f47a
1
/* PR tree-optimization/83581 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3 -fno-tree-copy-prop -fno-tree-loop-im" } */
4
5
int
a
,
b
,
c
;
6
7
int
8
foo
(
int
x
)
9
{
10
int
*
d
= &
x
;
11
while
(
a
<
1
)
12
{
13
for
(
b
=
0
;
b
<
2
; ++
b
)
14
{
15
*
d
+= !!
x
+
1
;
16
d
= &
c
;
17
}
18
++
a
;
19
}
20
return
*
d
;
21
}