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
Small ChangeLog tweak.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr68528.c
blob
d69d600f43bdeb46c5eb9b5067add6fa0390e502
1
/* { dg-do run } */
2
3
#define INT_MIN ( -__INT_MAX__ - 1 )
4
5
extern
void
abort
(
void
);
6
7
int
main
(
void
)
8
{
9
int
x0
=
INT_MIN
;
10
long
x1
=
0L
;
11
int
x2
=
0
;
12
int
t
= (
0
|| (
INT_MIN
- (
int
) (
x0
-
x1
) ) );
13
14
if
(
t
!=
0
) {
x2
=
t
;
abort
(); }
15
16
return
0
;
17
}