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
2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
pr45094.c
blob
7cebf4d50ccaa717913d3ad27ed1b6899fd4bebb
1
/* { dg-do run } */
2
/* { dg-require-effective-target arm_neon_hw } */
3
/* { dg-options "-O2" } */
4
/* { dg-add-options arm_neon } */
5
6
#include <stdlib.h>
7
8
long long
buffer
[
32
];
9
10
void
__attribute__
((
noinline
))
f
(
long long
*
p
,
int
n
)
11
{
12
while
(--
n
>=
0
)
13
{
14
*
p
=
1
;
15
p
+=
32
;
16
}
17
}
18
19
int
main
(
void
)
20
{
21
f
(
buffer
,
1
);
22
23
if
(!
buffer
[
0
])
24
abort
();
25
26
return
0
;
27
}