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
arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
section-anchors-pr27770.c
blob
1154b40d4855b5a42187134e9d5f08a98a160744
1
/* { dg-require-effective-target section_anchors } */
2
3
#include <stdarg.h>
4
#include
"tree-vect.h"
5
6
short
x
;
7
static short
f
[
100
] = {
0
};
8
int
9
bar
(
void
)
10
{
11
return
f
[
0
];
12
}
13
void
14
foo
(
void
)
15
{
16
int
i
;
17
for
(
i
=
0
;
i
<
100
;
i
++)
18
f
[
i
]++;
19
}
20
int
main
(
void
)
21
{
22
int
i
;
23
check_vect
();
24
foo
();
25
#pragma GCC novector
26
for
(
i
=
0
;
i
<
100
;
i
++)
27
if
(
f
[
i
]!=
1
)
28
abort
();
29
return
0
;
30
}
31