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
2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
ssa-lim-5.c
blob
4a428515dd9da7d5c726cb53235ded93fefdaff4
1
/* { dg-do link } */
2
/* { dg-options "-O" } */
3
4
/* We should apply store motion here. */
5
6
struct
BUF1
7
{
8
int
b1
;
9
int
b12
;
10
};
11
12
void
link_error
();
13
14
int
foo
(
struct
BUF1
*
p
)
15
{
16
int
i
=
0
;
17
#if(__SIZEOF_INT__ >= 4)
18
for
(
i
=
0
;
i
<
1024
*
1024
;
i
++)
19
#else
20
for
(
i
=
0
;
i
<
128
*
128
;
i
++)
21
#endif
22
p
->
b1
=
1
;
23
24
if
(
p
->
b1
!=
1
)
25
link_error
();
26
return
0
;
27
}
28
29
int
main
() {
return
0
; }