target addresses.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69900
91177308-0d34-0410-b5e6-
96231b3b80d8
}
// This is really a catch-all. We don't support symbolics yet.
-
- assert (V.isUnknown());
+ // FIXME: Implement dispatch for symbolic pointers.
for (iterator I=builder.begin(), E=builder.end(); I != E; ++I)
builder.generateNode(I, state);
// regardless of how well the underlying StoreManager reasons about pointer
// arithmetic.
// <rdar://problem/6777209>
-
void rdar_6777209(char *p) {
if (p == 0)
return;
if (p == 0)
*p = 'c'; // no-warning
}
+
+// PR 4033. A symbolic 'void *' pointer can be used as the address for a
+// computed goto.
+typedef void *Opcode;
+Opcode pr_4033_getOpcode();
+void pr_4033(void) {
+next_opcode:
+ {
+ Opcode op = pr_4033_getOpcode();
+ if (op) goto *op;
+ }
+}
+