------- Comment #4 from dfranke at gcc dot gnu dot org 2009-01-04 14:56 ------- simplify.c (gfc_simplify_reshape) has:
3547 if (x[order[i]]) 3548 { 3549 gfc_error ("Invalid permutation in ORDER parameter at %L", 3550 &e->where); 3551 gfc_free_expr (e); 3552 goto bad_reshape; 3553 } which detects invalid permutations in the case of constant(!) arguments. Closing as fixed. -- dfranke at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dfranke at gcc dot gnu dot | |org Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37203