projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove unused files
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr42889.c
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
}