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.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr61045.c
blob
1808cdc259ff8020ec4de97a717227cb993c8e1a
1
/* { dg-do run } */
2
/* { dg-options "-fstrict-overflow" } */
3
4
int
main
()
5
{
6
int
a
=
0
;
7
int
b
=
__INT_MAX__
;
8
int
t
= (
a
-
2
) > (
b
-
1
);
9
if
(
t
!=
0
)
10
__builtin_abort
();
11
return
0
;
12
}