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
[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
pr69245_1.c
blob
dcc542b2a8686f1b323433624d4df65ca9e96b36
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -march=armv8-a+fp -fomit-frame-pointer" } */
3
4
#pragma GCC target
"arch=armv8-a+nofp"
5
long
a
;
6
static void
7
fn1
()
8
{
9
}
10
11
#pragma GCC target
"arch=armv8-a+fp"
12
float
13
fn2
(
float
a
)
14
{
15
return
a
+
2.0
;
16
}
17
18
/* { dg-final { scan-assembler-not "__addsf3" } } */