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
/
pr81588.c
blob
4e83607f2a81f394e7ad0f0c8e65b52d4bfe3a58
1
/* PR tree-optimization/81588 */
2
/* { dg-do run } */
3
/* { dg-options "-O2" } */
4
5
long long int
a
=
5011877430933453486LL
,
c
=
1
;
6
unsigned short
b
=
24847
;
7
8
#include
"tree-ssa/pr81588.c"
9
10
int
11
main
()
12
{
13
foo
();
14
if
(
c
!=
0
)
15
__builtin_abort
();
16
a
=
24846
;
17
c
=
1
;
18
foo
();
19
if
(
c
!=
1
)
20
__builtin_abort
();
21
a
= -
5
;
22
foo
();
23
if
(
c
!=
0
)
24
__builtin_abort
();
25
return
0
;
26
}