https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116886
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
OK... so let me try to get my head around the Standardese.
Ah, the result characteristics make this pretty clear:
The result is of the same type and type parameters as ARRAY. It is scalar
if DIM does not appear; otherwise, the result has rank n − 1 and shape
[d1, d2, ... , dDIM−1 , dDIM+1, ..., dn ] where [d1 , d2, . . . , dn ] is the
shape of ARRAY.
Sigh.