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/77357 - strlen of constant strings not folded
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr26983.c
blob
fc919551d8b41d7dfd5e984cda67a86e7bfcaa23
1
/* { dg-do link } */
2
/* { dg-require-effective-target indirect_jumps } */
3
4
/* This used to cause a linker failure because GCC would output
5
assembler code referencing labels that it had not output. */
6
7
void
*
jmpbuf
[
6
];
8
9
void
10
foo
(
void
)
11
{
12
__builtin_setjmp
(
jmpbuf
);
13
}
14
15
int
16
main
(
void
)
17
{
18
return
0
;
19
}
20