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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20021116-1.c
blob
27a3e3a4cec62e051b272ce7ecd2f9b876d6305a
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fpic" } */
3
/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */
4
5
void
**
6
foo
(
void
**
x
,
int
y
,
void
*
z
)
7
{
8
switch
(
y
)
9
{
10
case
162
:
11
*
x
=
z
;
12
break
;
13
case
164
:
14
*
x
=
z
;
15
break
;
16
case
165
:
17
*
x
=
z
;
18
break
;
19
case
166
:
20
*
x
=
z
;
21
break
;
22
case
163
:
23
*
x
=
z
;
24
break
;
25
default
:
26
goto
out
;
27
}
28
return
x
;
29
30
out
:
31
return
(
void
**)
0
;
32
}