------- Comment #5 from pault at gcc dot gnu dot org  2008-01-13 08:49 -------
(In reply to comment #4)
> This is similar to 34432 is some ways. I think we are not matching the (\ \)
> correctly.  I don't think gfc_match_expr has the tooling for it yet.

The error message is spurious in my opinion.  It is left on the stack from a
failed match. As I say above, the problem is in simplification and,
specifically, the simplification of reshape.

Hang a gfc_show_expr_n in gfc_simplify_reshape for each of the arguments and
see what happens.  You will find, I believe, that the simplification is failing
on arguments that look perfectly OK for reasons that I just do not understand.

Good luck - I think that it is easily fixable but that one needs to alight on
what triggers failure.

Paul


-- 


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

Reply via email to