pet_scop_add_array: take into account context of added array
commit9095ab7a7d2c83b6fe6e8acd229562d47c719e88
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 14 Jun 2015 19:22:10 +0000 (14 21:22 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 14 Jun 2015 19:22:10 +0000 (14 21:22 +0200)
treee47f0f10c44c08e4a4c9ee76ab68642719239b8c
parente0518f0e6f89dbdd10442324991fb2e95eb5509d
pet_scop_add_array: take into account context of added array

Arrays that get added in PetScan::scan_arrays already have their
context taken into account, but for arrays that are collected
during the scop extraction, the context was being ignored.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
scop.c
tests/decl2.scop
tests/decl4.scop
tests/decl5.scop