projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
841d24b
)
isl_map_read: add dummy variable name for unnamed variables
author
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 19 Feb 2010 17:57:13 +0000
(18:57 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 19 Feb 2010 18:07:16 +0000
(19:07 +0100)
vars_drop assumes there is struct variable in the list of struct
variables for each variable in the dimension specification.
isl_input.c
patch
|
blob
|
history
diff --git
a/isl_input.c
b/isl_input.c
index
daeac8b
..
625de50
100644
(file)
--- a/
isl_input.c
+++ b/
isl_input.c
@@
-254,6
+254,9
@@
static __isl_give isl_basic_map *read_var_list(struct isl_stream *s,
vec = accept_affine(s, v);
if (!vec)
goto error;
+ v->v = variable_new(v, "", 0, v->n);
+ if (!v->v)
+ goto error;
v->n++;
bmap = isl_basic_map_add(bmap, type, 1);
bmap = isl_basic_map_extend_constraints(bmap, 1, 0);