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-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr83415.c
blob
5934c16d97cb2c669baf973e201887e8f2f27a91
1
/* { dg-do compile } */
2
/* { dg-options "-O" } */
3
4
const short
__attribute__
((
vector_size
(
16
)))
y
= {
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
};
5
6
int
7
main
(
int
argc
,
short
*
argv
[])
8
{
9
int
i
=
argc
;
10
y
[
i
] =
7
-
i
;
/* { dg-warning "read-only" } */
11
return
0
;
12
}