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 tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
920501-5.c
blob
f0b907166531b7fba844f0384c2ba27894c43dd0
1
/* { dg-require-effective-target label_values } */
2
3
x
(
int
i
)
4
{
5
void
*
j
[] = {&&
x
, &&
y
, &&
z
};
6
goto
*
j
[
i
];
7
x
:
return
2
;
8
y
:
return
3
;
9
z
:
return
5
;
10
11
}
12
main
()
13
{
14
if
(
x
(
0
) !=
2
||
x
(
1
) !=
3
||
x
(
2
) !=
5
)
15
abort
();
16
exit
(
0
);
17
}