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
2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vector-shift-2.c
blob
8e37d9dbb0c511c00a8b3fd2383d580b3235263a
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-ccp1" } */
3
4
typedef
unsigned
vec
__attribute__
((
vector_size
(
4
*
sizeof
(
int
))));
5
void
6
f
(
vec
*
a
)
7
{
8
vec s
= {
5
,
5
,
5
,
5
};
9
*
a
= *
a
<<
s
;
10
}
11
12
/* { dg-final { scan-tree-dump "<< 5" "ccp1" } } */