This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31257] ICE in gfc_conv_expr_descriptor
- 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: 7 Apr 2007 07:50:19 -0000
- Subject: [Bug fortran/31257] ICE in gfc_conv_expr_descriptor
- References: <bug-31257-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pault at gcc dot gnu dot org 2007-04-07 08:50 -------
(In reply to comment #2)
> This looks related to 31218, so I'm adding a dependency even though I'm not
> certain it's the same. Also confirming, because it's definitely a bug even if
> it's a duplicate one.
>
It might be - the problem is specifically due to achar not producing a
character length. If you separate the expression for the first argument of the
outer transfer into a character*(1) :: tmp(20), the code works because the
character size of tmp is used. Hanging a diagnostic just before the
gcc_assert, confirms that this expression does not have a ts.cl. Strangely,
there is no gfc_resolve_achar function to do this.
I can feel a fix coming on...:)
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2007-04-06 23:12:54 |2007-04-07 08:50:19
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31257