// region, if that is the case, get the underlining region.
if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) {
R = ER->getAsArrayOffset().getRegion();
- if (!isa<SymbolicRegion>(R))
+ if (!R || !isa<SymbolicRegion>(R))
return 0;
} else
return 0;
const char *__WBASLLevelString(int level) {
return "foo";
}
+
+static int *bug10798(int *p, int columns, int prevRow) {
+ int *row = 0;
+ row = p + prevRow * columns;
+ prevRow += 2;
+ do {
+ ++prevRow;
+ row+=columns;
+ } while(10 >= row[1]);
+ return row;
+}