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
Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr70152.c
blob
27a092d199af86c2cce2145e7f88753fde1735f4
1
/* PR tree-optimization/70152 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
5
int
a
;
6
int
foo
(
void
);
7
int
setjmp
(
char
*);
8
char
buf
[
64
];
9
10
static int
11
bar
(
int
x
)
12
{
13
x
=
0
;
14
setjmp
(
buf
);
15
for
(;;)
16
{
17
switch
(
x
)
18
case
5
:
19
x
=
foo
();
20
}
21
}
22
23
void
24
baz
(
void
)
25
{
26
bar
(
a
);
27
}