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
c++: Implement for namespace statics CWG 2867 - Order of initialization for structure...
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr99230.c
blob
eb3f982c2adb65e6f0b5088bb205a71826cd4b83
1
/* PR debug/99230 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 --param logical-op-non-short-circuit=0 -fcompare-debug --param=jump-table-max-growth-ratio-for-speed=5000" } */
4
5
extern
void
fn2
(
void
);
6
extern
void
fn3
(
int
);
7
int
a
,
b
;
8
void
9
fn1
(
void
)
10
{
11
int
c
;
12
short
d
;
13
switch
(
a
) {
14
case
22000
:
15
fn2
();
16
case
22300
:
17
b
=
0
;
18
case
22600
:
19
case
22601
:
20
case
22900
:
21
fn3
(
1
);
22
case
20100
:
23
fn3
(
2
);
24
case
20200
:
25
fn3
(
3
);
26
case
20300
:
27
fn3
(
4
);
28
case
20400
:
29
fn3
(
5
);
30
case
20310
:
31
fn3
(
4
);
32
case
20410
:
33
fn3
(
5
);
34
}
35
if
(
d
||
c
) {
36
do
37
;
38
while
(
0
);
39
}
40
}