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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr31115.c
blob
1395a34b3226264e8501bd9e3b359bd4bc6ecc47
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
}