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
Warn pointer to signed integer cast for ilp32
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr46252.c
blob
70bf21d6c079b11104209ab04572a274bc04ed1d
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
6
foo
(
float
*
f
)
7
{
8
int
i
;
9
for
(
i
=
0
;
i
<
4
;
i
++)
10
f
[
i
] =
i
;
11
bar
();
12
for
(
i
=
0
;
i
<
4
;
i
++)
13
if
(
f
[
i
] !=
i
)
14
__builtin_abort
();
15
}