Commit b39c6706 by Zdenek Dvorak Committed by Zdenek Dvorak

tree-data-ref.c (conflict_fn): Assert that the number of affine relations in the…

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
parent 9891ec5f
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.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment