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
2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr58432.c
blob
22a720f142fa32d8bb053ff7f3fc54523e5c8f31
1
/* { dg-do compile } */
2
/* { dg-require-profiling "-fprofile-generate" } */
3
/* { dg-options "-O3 -fprofile-generate" } */
4
5
struct
{
6
int
prefix
;
7
int
dir_idx
;
8
} *
a
;
9
int
b
;
10
void
fn1
() {
11
int
*
c
, *
d
;
12
for
(;
b
;
b
++)
13
if
(
d
[
b
]) {
14
c
[
b
] =
d
[
b
];
15
a
[
0
].
dir_idx
=
0
;
16
}
17
}