projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Miss two, PR5307.
[oota-llvm.git]
/
test
/
FrontendC
/
2007-02-04-WITH_SIZE_EXPR.c
1
// RUN: %llvmgcc %s -O3 -S -o - -emit-llvm
2
// PR1174
3
4
void zzz (char *s1, char *s2, int len, int *q)
5
{
6
int z = 5;
7
unsigned int i, b;
8
struct { char a[z]; } x;
9
10
for (i = 0; i < len; i++)
11
s1[i] = s2[i];
12
13
b = z & 0x3;
14
15
len += (b == 0 ? 0 : 1) + z;
16
17
*q = len;
18
19
foo (x, x);
20
}
21