aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-data-ref.c')
-rw-r--r--gcc/tree-data-ref.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c
index d6201b6..794bb83 100644
--- a/gcc/tree-data-ref.c
+++ b/gcc/tree-data-ref.c
@@ -2418,6 +2418,7 @@ conflict_fn (unsigned n, ...)
conflict_function *ret = XCNEW (conflict_function);
va_list ap;
+ gcc_assert (0 < n && n <= MAX_DIM);
va_start(ap, n);
ret->n = n;