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-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr71280.c
blob
496e3d269ed705a16ea2aa26db0a57562c8f458d
1
/* PR tree-optimization/71280 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
5
extern
char
v
[];
6
7
int
8
foo
()
9
{
10
int
k
=
0
;
11
typedef
char
T
[
64
];
12
for
(
int
i
=
0
;
i
<
64
;
i
++)
13
k
+= (*(
T
*) &
v
[
0
])[
i
];
14
return
k
;
15
}