This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34785] internal compiler error for array constructor for sequence type
- 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: 18 Jan 2008 09:33:44 -0000
- Subject: [Bug fortran/34785] internal compiler error for array constructor for sequence type
- References: <bug-34785-15620@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-18 09:33 -------
(In reply to comment #4)
Sorry, the above is the fix for PR34784.
This one is fixed by:
In trans-array.c (gfc_add_loop_ss_code)
case GFC_SS_CONSTRUCTOR:
if (ss->expr->ts.type == BT_CHARACTER
&& ss->string_length == NULL)
get_array_ctor_all_strlen (&loop->pre, ss->expr,
&ss->string_length);
gfc_trans_array_constructor (loop, ss);
break;
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34785