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
* intrinsics/access.c: Include <stdlib.h>.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
switch-1.c
blob
1879790dd12f95f96c561c24c89e1a71ea3b7a31
1
/* { dg-do compile { target fpic } } */
2
/* { dg-options "-fpic -O2" } */
3
4
void
f
(
char
*
s
)
5
{
6
for
(;;)
7
{
8
int
t
=
6
;
9
switch
(
t
)
10
{
11
case
2
:
12
*
s
=
'2'
;
13
case
6
:
case
4
:
case
3
:
case
1
:
14
break
;
15
}
16
}
17
}