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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr108947.c
blob
2fe2f5c6e5762e8d26a497cee6c3148837223e40
1
/* PR target/108947 */
2
/* { dg-do run } */
3
/* { dg-options "-O2 -fno-forward-propagate -Wno-psabi" } */
4
5
typedef
unsigned short
__attribute__
((
__vector_size__
(
2
*
sizeof
(
short
))))
V
;
6
7
__attribute__
((
__noipa__
))
V
8
foo
(
V v
)
9
{
10
V w
=
3
> (
v
&
3992
);
11
return
w
;
12
}
13
14
int
15
main
()
16
{
17
V w
=
foo
((
V
) {
0
,
9
});
18
if
(
w
[
0
] !=
0xffff
||
w
[
1
] !=
0
)
19
__builtin_abort
();
20
return
0
;
21
}