diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2008-07-04 13:35:22 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2008-07-04 13:35:22 +0000 |
commit | 2e9bca45ac993bd419b5f2a8baf4aa3b4c98f5c1 (patch) | |
tree | 4e146cc2f13d8acbb3d2531ac3128ad9953143b5 | |
parent | f6b31efb73723839fcf625e5c4ce7e57d180adfd (diff) |
2008-07-04 Tobias Grosser <grosser@fim.uni-passau.de>
* graphite.c (scan_tree_for_params): Fix insertion of parameters into
the domain matrix. Makes scop-0.c work again.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/graphite@137459 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog.graphite | 5 | ||||
-rw-r--r-- | gcc/graphite.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index 11cb07a336b..b501144c2d7 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,3 +1,8 @@ +2008-07-04 Tobias Grosser <grosser@fim.uni-passau.de> + + * graphite.c (scan_tree_for_params): Fix insertion of parameters into + the domain matrix. This makes scop-0.c work again. + 2008-06-20 Richard Guenther <rguenther@suse.de> * graphite.h: Adjust copyright to GPLv3. diff --git a/gcc/graphite.c b/gcc/graphite.c index 495fc8e5158..becbbdd5423 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -1548,7 +1548,7 @@ scan_tree_for_params (scop_p s, tree e, CloogMatrix *c, int r, Value k) if (c) { - param_col += c->NbColumns - scop_nb_params (s); + param_col += c->NbColumns - scop_nb_params (s) - 1; value_init (c->p[r][param_col]); value_assign (c->p[r][param_col], k); } |