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 tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr68062.C
blob
236a4885ac9441ec26f905b3763f9d80ef089ea8
1
/* { dg-do compile } */
2
/* { dg-options "-funsigned-char" } */
3
4
typedef char __attribute__ ((vector_size (4))) v4qi;
5
typedef unsigned char __attribute__ ((vector_size (4))) uv4qi;
6
7
v4qi v;
8
void ret(char a)
9
{
10
v4qi c={a,a,a,a};
11
uv4qi d={a,a,a,a};
12
v = (c!=d);
13
}