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
2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
negscc_restrict_it.c
blob
b24c6ece7271dc4cfbb718155841282ff8f63bf7
1
/* { dg-do run } */
2
/* { dg-require-effective-target arm_thumb2_ok } */
3
/* { dg-options "-mthumb -O2 -mrestrict-it" } */
4
5
__attribute__
((
noinline
,
noclone
))
int
6
fn1
(
int
a
,
int
b
)
7
{
8
return
(
a
==
b
?
0
: -
1
);
9
}
10
11
int
12
main
(
void
)
13
{
14
if
(
fn1
(
3
,
3
) !=
0
)
15
__builtin_abort
();
16
17
if
(
fn1
(
6
,
7
) != -
1
)
18
__builtin_abort
();
19
}