PetScan::set_upper_bounds: fix typo breaking non-1D array declarations in loops
commit3168a462f547418be9b9d5c45d49732e30248e63
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 17 Oct 2014 13:30:38 +0000 (17 15:30 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 26 Oct 2014 08:45:24 +0000 (26 09:45 +0100)
tree26f492835c74b37849ea9fdfab3d4087eaae55ab
parentc1dd420189f61e75561b10d6b47bb80699a302cc
PetScan::set_upper_bounds: fix typo breaking non-1D array declarations in loops

Support for handling arrays declared inside loops should have been
fixed by a9014ae (PetScan::set_upper_bounds: handle arrays declared
inside loops, Thu Jul 17 19:27:14 2014 +0200), but due to a typo,
it would only work for arrays of dimension at most one.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
scan.cc
tests/decl5.c [new file with mode: 0644]
tests/decl5.scop [new file with mode: 0644]