This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32464] [4.3 regression] ICE: USE in contained subroutine
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jun 2007 19:16:51 -0000
- Subject: [Bug fortran/32464] [4.3 regression] ICE: USE in contained subroutine
- References: <bug-32464-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from burnus at gcc dot gnu dot org 2007-06-22 19:16 -------
One of the problems is that
gfc_match_rvalue (&expr);
does not set expr to NULL by default or when an error occurs. Therefore
gcc_assert (expr && sym == expr->symtree->n.sym);
does not fail but crashes randomly. One probably should fix gfc_match_rvalue
rather than using simply expr = NULL in check_host_association.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32464