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
gcc/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr31115.c
1
/* { dg-do run } */
2
3
extern void exit(int);
4
extern void abort();
5
void foo (int e1)
6
{
7
if (e1 < 0)
8
{
9
e1 = -e1;
10
if (e1 >>= 4)
11
{
12
if (e1 >= 1 << 5)
13
exit(0);
14
}
15
}
16
}
17
18
int main()
19
{
20
foo(-(1<<9));
21
abort();
22
}