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
/
pr110699.c
blob
be7761358c2aea8eb19ae2b5f1f6637d9280397b
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
typedef
__attribute__
((
__vector_size__
(
64
)))
int
T
;
5
6
void
f
(
void
) {
7
extern
char
a
[
64
],
b
[
64
];
/* { dg-message "previous" "note" } */
8
void
*
p
=
a
;
9
T q
= *(
T
*)&
b
[
0
];
10
}
11
12
void
g
() {
13
extern
char
b
;
/* { dg-error "conflicting types" } */
14
}