tree-data-ref.c (conflict_fn): Assert that the number of affine relations in the conflict function is valid.

* tree-data-ref.c (conflict_fn): Assert that the number of affine
	relations in the conflict function is valid.

From-SVN: r121259
This commit is contained in:
Zdenek Dvorak 2007-01-28 18:29:30 +01:00 committed by Zdenek Dvorak
parent 9891ec5f7d
commit b39c670645
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-01-28 Zdenek Dvorak <dvorakz@suse.cz>
* tree-data-ref.c (conflict_fn): Assert that the number of affine
relations in the conflict function is valid.
2007-01-27 Ian Lance Taylor <iant@google.com>
* common.opt: Add fstrict-overflow.

View File

@ -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;