projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Another SCEV issue from PR2607; essentially the same issue, but this
[oota-llvm.git]
/
test
/
FrontendC
/
2005-10-18-VariableSizedElementCrash.c
diff --git
a/test/FrontendC/2005-10-18-VariableSizedElementCrash.c
b/test/FrontendC/2005-10-18-VariableSizedElementCrash.c
index 867e4d285e60793e498571171766bb5f608b7dde..b9166621db4a86f66aa16cc5d47f2fd7cf7a262b 100644
(file)
--- a/
test/FrontendC/2005-10-18-VariableSizedElementCrash.c
+++ b/
test/FrontendC/2005-10-18-VariableSizedElementCrash.c
@@
-2,7
+2,7
@@
int sub1(int i, char *pi) {
typedef int foo[i];
- struct bar {foo f1; int f2:3; int f3:4} *p = (struct bar *) pi;
+ struct bar {foo f1; int f2:3; int f3:4
;
} *p = (struct bar *) pi;
xxx(p->f1);
return p->f3;
}