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-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr54981.c
blob
aa77d60c44d8e05726f332b3f822b3f54fff2aa8
1
/* { dg-do compile } */
2
/* { dg-options "-O -ftree-loop-distribute-patterns -fcompare-debug" } */
3
4
extern
void
bar
(
unsigned
*,
char
*);
5
6
void
foo
(
char
*
s
)
7
{
8
unsigned
i
;
9
char
t
[
2
];
10
11
bar
(&
i
,
t
);
12
13
for
(
i
=
0
;
i
<
2
;
i
++)
14
s
[
i
] =
t
[
i
];
15
}