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
* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr26898-1.c
blob
6194129292d1483fa9e6e33588ef4b6ecb05e99e
1
/* { dg-do link } */
2
/* { dg-options "-fstrict-overflow" } */
3
4
#include <limits.h>
5
6
extern
void
link_error
(
void
);
7
int
main
()
8
{
9
int
i0
,
i1
;
10
if
(!(
i0
+
1
<
i1
+
1
==
i0
<
i1
))
11
link_error
();
12
if
(!(
i0
+
INT_MIN
<
i1
-
INT_MAX
==
i0
<
i1
- -
1
))
13
link_error
();
14
return
0
;
15
}