projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.8.1
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
c-c++-common
/
asan
/
pr56330.c
1
/* PR sanitizer/56330 */
2
/* { dg-do compile } */
3
4
char e[200];
5
6
struct S
7
{
8
char a[100];
9
char b[100];
10
} s;
11
12
int
13
foo (void)
14
{
15
int i = __builtin_memcmp (s.a, e, 100);
16
i += __builtin_memcmp (s.a, e, 200);
17
return i;
18
}
19
20
void
21
bar (int *a, char *b, char *c)
22
{
23
__builtin_memmove (c, b, a[b[0]]);
24
}