Commit 02fdb130 by Dominique d'Humieres Committed by Dominique d'Humieres

+2017-09-24 Dominique d'Humieres <dominiq@lps.ens.fr>

	PR libgfortran/79612
	* runtime/bounds.c: Use GFC_ASSERT.

From-SVN: r253124
parent 650f7d09
2017-09-24 Dominique d'Humieres <dominiq@lps.ens.fr>
PR libgfortran/79612
* runtime/bounds.c: Use GFC_ASSERT.
2017-09-10 Paul Thomas <pault@gcc.gnu.org> 2017-09-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34640 PR fortran/34640
......
...@@ -40,9 +40,8 @@ bounds_iforeach_return (array_t *retarray, array_t *array, const char *name) ...@@ -40,9 +40,8 @@ bounds_iforeach_return (array_t *retarray, array_t *array, const char *name)
ret_rank = GFC_DESCRIPTOR_RANK (retarray); ret_rank = GFC_DESCRIPTOR_RANK (retarray);
if (ret_rank != 1) /* ret_rank should always be 1, otherwise there is an internal error */
runtime_error ("Incorrect rank of return array in %s intrinsic:" GFC_ASSERT(ret_rank == 1);
"is %ld, should be 1", name, (long int) ret_rank);
rank = GFC_DESCRIPTOR_RANK (array); rank = GFC_DESCRIPTOR_RANK (array);
ret_extent = GFC_DESCRIPTOR_EXTENT(retarray,0); ret_extent = GFC_DESCRIPTOR_EXTENT(retarray,0);
......
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