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 20:04:30 -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 #8 from burnus at gcc dot gnu dot org 2007-06-22 20:04 -------
> One probably should fix gfc_match_rvalue rather than using simply expr = NULL
> in check_host_association.
At least setting result = NULL at the top of gfc_match_rvalue is wrong. (I
don't know whether a single test case passes afterwards.)
I think I stick to gfc_expr *expr = NULL; in check_host_association.
The ICE fails for old_sym->name == "size", i.e. for the intrinsic function
SIZE.
While "old_sym != sym", they are both in the (old_)sym->module "(intrinsic)".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32464