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
[AArch64] Fix SVE testsuite failures for ILP32 (PR 83846)
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-prof
/
unroll-1.c
blob
3ad0cf019b3458c445151ff5f1db1f76aa0a3760
1
/* { dg-options "-O3 -fdump-rtl-loop2_unroll-details -funroll-loops -fno-peel-loops" } */
2
void
abort
();
3
4
int
a
[
1000
];
5
int
6
__attribute__
((
noinline
))
7
t
()
8
{
9
int
i
;
10
for
(
i
=
0
;
i
<
1000
;
i
++)
11
if
(!
a
[
i
])
12
return
1
;
13
abort
();
14
}
15
int
16
main
()
17
{
18
int
i
;
19
for
(
i
=
0
;
i
<
1000
;
i
++)
20
t
();
21
return
0
;
22
}
23
/* { dg-final-use { scan-rtl-dump "considering unrolling loop with constant number of iterations" "loop2_unroll" } } */