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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arc
/
mspfp.c
blob
19cb97828fbba9e1f2ba64708dc0e8e67a9e0591
1
/* { dg-do compile } */
2
/* { dg-skip-if "FPX is not an ARC HS extension" { archs } } */
3
/* { dg-options "-O2 -mspfp" } */
4
5
float
i
;
6
7
int
f
(
void
)
8
{
9
i
*=
2.0
;
10
}
11
12
/* { dg-final { scan-assembler "fadd" } } */