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-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr42889.c
blob
a8e9e6088abb84a70733f6de870763c336f2201b
1
/* PR rtl-optimization/42889 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -fgcse -fcompare-debug" } */
4
/* { dg-xfail-if "" { powerpc-ibm-aix* } } */
5
6
extern
int
A
[],
B
[];
7
8
int
9
foo
(
int
x
,
int
c
,
int
i
)
10
{
11
if
(
A
[
i
] &&
B
[
i
])
12
x
=
x
% ((
c
&
4
) ?
8
:
4
);
13
return
x
;
14
}