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
PR testsuite/52641
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
foldconst-6.c
blob
0c08f8f258b3d66bda58cce5596f896bb39bd5cf
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-ccp1" } */
3
4
typedef
long
vec
__attribute__
((
vector_size
(
2
*
sizeof
(
long
))));
5
6
void
f
(
vec
*
r
)
7
{
8
vec a
= { -
2
,
666
};
9
vec b
= {
3
,
2
};
10
*
r
=
a
<
b
;
11
}
12
13
/* { dg-final { scan-tree-dump-not "666" "ccp1"} } */
14
/* { dg-final { cleanup-tree-dump "ccp1" } } */