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
Stop only if there aren't any usable algorithms
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
20000904-1.c
blob
0fbce57e1be4c0f6a8f5574b1d16a5a66be8c258
1
/* { dg-do compile } */
2
/* { dg-require-effective-target fpic } */
3
/* { dg-options "-O0 -fpic" } */
4
5
static struct
{
6
unsigned short
a
,
b
,
c
,
d
;
7
}
x
[
10
];
8
9
int
foo
(
int
i
)
10
{
11
return
((*((
char
*)&
x
[
i
] +
i
)) | (*((
char
*)&
x
[
i
] +
i
)));
12
}