This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34556] Rejects valid with bogus error message: parameter initalization
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jan 2008 08:49:17 -0000
- Subject: [Bug fortran/34556] Rejects valid with bogus error message: parameter initalization
- References: <bug-34556-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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