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
PR middle-end/77674
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
Wimplicit-fallthrough-11.c
blob
e8f47f56ab99f2f10377150592a5e2bfbeef1999
1
/* PR c/7652 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wimplicit-fallthrough -O2" } */
4
5
/* Prevent false positive with optimizations. */
6
7
extern
void
g
(
int
);
8
9
void
10
f
(
int
i
)
11
{
12
switch
(
i
)
13
{
14
case
1
:
15
if
(
i
>
10
)
16
g
(
0
);
17
else
18
goto
L
;
19
break
;
20
L
:
21
case
2
:;
22
}
23
}