repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
RTEMS: Add Cortex-M33 multilib
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr107867.C
blob
16c7499cf7b679ca46ef26dc281cef1f6c8f8f4c
1
// { dg-do compile }
2
// { dg-options "-Os -fno-tree-ccp -Wuninitialized" }
3
4
void printf(...);
5
void __sigsetjmp_cancel() __attribute__((__returns_twice__));
6
int z, main_ret;
7
void func(void *) {}
8
9
int
10
main()
11
{
12
int x;
13
void (*__cancel_routine)(void *)(func);
14
__sigsetjmp_cancel();
15
__cancel_routine(0);
16
if (main_ret)
17
x = z;
18
printf(x);
19
}