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-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-prof
/
pr52027.c
blob
c46a14b2e86c37e3521b0de849f7b5871e6017fa
1
/* PR debug/52027 */
2
/* { dg-require-effective-target freorder } */
3
/* { dg-options "-O2 -freorder-blocks-and-partition -fno-reorder-functions" } */
4
5
void
6
foo
(
int
len
)
7
{
8
char
array
[
1000
];
9
__builtin_memset
(
array
,
0
,
len
);
10
}
11
12
int
13
main
()
14
{
15
int
i
;
16
for
(
i
=
0
;
i
<
1000
;
i
++)
17
foo
(
8
);
18
return
0
;
19
}