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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr33645-1.c
blob
1ec8a2ff8721c05e89f4e2e2b12e82c0e8008f51
1
/* PR tree-optimization/33645 */
2
/* { dg-do link } */
3
/* { dg-options "-O2 -fno-unit-at-a-time" } */
4
5
__attribute__
((
noinline
))
int
6
bar
(
int
*
x
)
7
{
8
return
*
x
++;
9
}
10
11
int
12
main
()
13
{
14
static int
var1_s
;
15
static int
*
var1_t
= &
var1_s
;
16
17
return
bar
(
var1_t
) !=
0
;
18
}