------- Comment #4 from mikael at gcc dot gnu dot org 2008-11-16 11:38 ------- (In reply to comment #3) > The problem appears to be the empty SOURCE with the presence of PAD. I agree.
There are two bugs actually: (1) the front-end doesn't expand the reshape. (at least in this case: reshape([integer::],[N,N],[1,2,2,2]) ) (2) reshape gives wrong results. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38135