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:
9426314
)
Insert missing error check into isl_pw_*_intersect_domain
author
Andreas Kloeckner
<inform@tiker.net>
Mon, 10 Oct 2011 22:02:18 +0000
(18:02 -0400)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Mon, 10 Oct 2011 22:26:20 +0000
(
00:26
+0200)
Signed-off-by: Andreas Kloeckner <inform@tiker.net>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_pw_templ.c
patch
|
blob
|
history
diff --git
a/isl_pw_templ.c
b/isl_pw_templ.c
index
a446c43
..
1aa129f
100644
(file)
--- a/
isl_pw_templ.c
+++ b/
isl_pw_templ.c
@@
-421,6
+421,8
@@
__isl_give PW *FN(PW,intersect_domain)(__isl_take PW *pw, __isl_take isl_set *se
aff = isl_set_affine_hull(isl_set_copy(pw->p[i].set));
pw->p[i].FIELD = FN(EL,substitute_equalities)(pw->p[i].FIELD,
aff);
+ if (!pw->p[i].FIELD)
+ goto error;
if (isl_set_plain_is_empty(pw->p[i].set)) {
isl_set_free(pw->p[i].set);
FN(EL,free)(pw->p[i].FIELD);