projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR tree-optimization/77937 (ICE: in replace_one_candidate, at gimple-ssa-strength...
[gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr77937-2.c
1
/* { dg-do compile } */
2
/* { dg-do options "-O3 -march=amdfam10" { target { x86_64-*-* } } } */
3
4
extern
int
fn2
(
int
);
5
extern
int
fn3
(
int
);
6
int
a
,
b
,
c
;
7
void
fn1
(
long
p1
) {
8
char
*
d
;
9
for
(;;
d
+=
p1
) {
10
d
[
0
] =
fn2
(
1
>>
a
);
11
fn3
(
0
);
12
fn3
(
c
>>
a
);
13
d
[
1
] =
fn3
(
d
[
1
] *
b
+
c
>>
a
);
14
d
[
4
] =
fn3
(
d
[
4
] *
b
+
c
>>
a
);
15
d
[
5
] =
fn3
(
d
[
5
] *
b
+
c
>>
a
);
16
}
17
}