OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Backported from mainline
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr17078-1.c
1
extern void abort(void);
2
3
void test(int *ptr)
4
{
5
int i = 1;
6
goto useless;
7
if (0)
8
{
9
useless:
10
i = 0;
11
}
12
else
13
i = 1;
14
*ptr = i;
15
}
16
17
int main()
18
{
19
int i = 1;
20
test(&i);
21
if (i)
22
abort ();
23
return 0;
24
}
25