This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/34785] internal compiler error for array constructor for sequence type



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]