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
Document gcov-io (PR gcov-profile/84735).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr46252.c
blob
6df4f2cb85921894c152d612147382af50333b8a
1
/* PR debug/46252 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -frerun-cse-after-loop -fno-tree-loop-optimize -funroll-loops -fcompare-debug" } */
4
5
void
bar
(
void
);
6
7
void
8
foo
(
float
*
f
)
9
{
10
int
i
;
11
for
(
i
=
0
;
i
<
4
;
i
++)
12
f
[
i
] =
i
;
13
bar
();
14
for
(
i
=
0
;
i
<
4
;
i
++)
15
if
(
f
[
i
] !=
i
)
16
__builtin_abort
();
17
}