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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vmx
/
3a-07.c
blob
197fd23c86e1e2b9554c42a94dc4a58dd1beb716
1
#include
"harness.h"
2
3
static
vector
unsigned char
4
zero
()
5
{
6
/* MCC allocates a stack slot for and loads an uninitialized local
7
variable. */
8
vector
unsigned char
a
;
9
return
vec_sub
(
a
,
a
);
10
}
11
12
static void
test
()
13
{
14
static
vector
unsigned char
zerov
;
15
check
(
vec_all_eq
(
zero
(),
zerov
),
"zero"
);
16
}