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
/
debug-1.c
blob
c92435e09cb923e474fbf64c8a5339a7e3ab4294
1
#include <altivec.h>
2
vector
unsigned char
v
;
3
typedef
unsigned char
T
[
16
];
4
T t
;
5
typedef
struct
{
unsigned char
a
[
16
]; }
R
;
6
R r
;
7
typedef
union
{
8
unsigned char
u8
[
16
];
9
signed char
s8
[
16
];
10
unsigned short
u16
[
8
];
11
signed short
s16
[
8
];
12
unsigned int
u32
[
4
];
13
signed int
s32
[
4
];
14
float
f32
[
4
];
15
}
U
;
16
U u
;
17
static void
use
(
void
*
p
) {
18
}
19
int
main
() {
20
use
(&
v
);
21
use
(&
t
);
22
use
(&
r
);
23
use
(&
u
);
24
return
0
;
25
}
26