------- Comment #1 from burnus at gcc dot gnu dot org 2008-07-19 13:48 ------- Note: One should have a run-time and a compile-time check.
Example: real, dimension(1,0) :: a, b, c b = eoshift (a,(/1/)) Since dim=1, the shape of the 2nd dimension of A needs to be the same as the first dimension of SHAPE. However, for A one has 0 while for SHAPE it is 1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36874