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
c++: Fix up pedwarn for capturing structured bindings in lambdas [PR118719]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vector22.C
blob
5d28637f82715cd13942c7b711fe720912f09c21
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-gimple" } */
3
4
typedef unsigned vec __attribute__((vector_size(4*sizeof(int))));
5
6
/* Disabled after PR57286
7
void f(vec*a,vec*b){
8
*a=(*a)?-1:(*b<10);
9
*b=(*b)?(*a<10):0;
10
}
11
*/
12
void g(vec*a,vec*b){
13
*a=(*a)?(*a<*a):-1;
14
*b=(*b)?-1:(*b<*b);
15
}
16
void h(vec*a){
17
*a=(~*a==5);
18
}
19
20
/* { dg-final { scan-tree-dump-not "~" "gimple" } } */