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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr35264.c
blob
a332efc42ef180f51106bfabe47aa3b26c820598
1
/* { dg-do run } */
2
/* { dg-options "-O1" } */
3
extern
void
abort
(
void
);
4
long long
__attribute__
((
noinline
))
get
(
void
)
5
{
6
return
-
2
;
7
}
8
long long
__attribute__
((
noinline
))
get
(
void
);
9
int
__attribute__
((
noinline
))
check
(
void
)
10
{
11
long long
lcn
;
12
13
lcn
=
get
();
14
if
(
lcn
>=
0
||
lcn
== -
1
)
15
return
0
;
16
17
return
-
1
;
18
}
19
int
main
()
20
{
21
if
(
check
() ==
0
)
22
abort
();
23
return
0
;
24
}