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_2.c
blob
6743f5d0ccca5ee6716504749255b0fdbe633a8f
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -march=armv8-a+fp" } */
3
4
#pragma GCC push_options
5
#pragma GCC target
"arch=armv8-a+nofp"
6
static void
7
fn1
()
8
{
9
}
10
#pragma GCC pop_options
11
float
12
fn2
(
float
a
)
13
{
14
return
a
+
2.0
;
15
}
16
17
/* { dg-final { scan-assembler-not "__addsf3" } } */