------- Comment #3 from burnus at gcc dot gnu dot org  2008-07-28 11:21 -------
> Why a run-time check?
Because the shape might not be known at compile time? And a compile-time check
because compile-time checks are nicer ;-)

> AFAIK, we can always determine the rank at runtime
Yes, the RANK should be known (even) at compile time, but the SHAPE might be
only be known at run time. (Shape = how many elements per dimension; rank =
number of dimensions.)

(By the way, the rank is already checked.)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36874

Reply via email to