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
2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr38934.c
blob
c05742c5baa75716bd3ee2297f1d31b9236da65c
1
/* PR middle-end/38934 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -std=gnu99 -w" } */
4
5
/* This variable needed only to work around earlier optimizations than VRP. */
6
unsigned char
g
;
7
8
extern
void
abort
();
9
10
void
11
f
(
long long int
p
)
12
{
13
g
=
255
;
14
if
(
p
>= -
9223372036854775808LL
- (
signed char
)
g
)
15
p
=
1
;
16
17
if
(
p
)
18
abort
();
19
}