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
* config/i386/avx512fintrin.h (_mm512_set_epi16, _mm512_set_epi8,
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
pr83370.c
blob
cde8876279f63c56e1a9ccc925195c136e4de7f1
1
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
4
typedef
void
(*
fun
) (
void
);
5
6
void
__attribute__
((
noipa
))
7
f
(
fun x1
)
8
{
9
register
fun x2
asm
(
"x16"
);
10
int
arr
[
5000
];
11
int
*
volatile
ptr
=
arr
;
12
asm
(
"mov %0, %1"
:
"=r"
(
x2
) :
"r"
(
x1
));
13
x2
();
14
}
15
16
void
g
(
void
) {}
17
18
int
19
main
(
void
)
20
{
21
f
(
g
);
22
}