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
Document gcov-io (PR gcov-profile/84735).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
switch-10.c
blob
9e5926745b88c39a3a2309fe7b10949a3ed5da96
1
/* { dg-options "-O2 -fdump-tree-cfg" } */
2
#include <stdint.h>
3
4
void
foo
(
void
);
5
void
bar
(
void
);
6
7
void
8
test
(
uint8_t
ch
)
9
{
10
switch
(
ch
)
11
{
12
case
0
:
13
foo
();
14
break
;
15
16
case
1
...
255
:
17
bar
();
18
break
;
19
}
20
}
21
22
/* Switch statement is converted to GIMPLE condition. */
23
/* { dg-final { scan-tree-dump-not "switch" "cfg" } } */