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/31879] ICE with function having array of character variables argument



------- Comment #2 from burnus at gcc dot gnu dot org  2007-05-09 22:53 -------
gfc_conv_expr_descriptor, at fortran/trans-array.c:4474:

      if (expr->ts.type == BT_CHARACTER)
        {
          if (expr->ts.cl == NULL)
            {
              /* This had better be a substring reference!  */
              gfc_ref *char_ref = expr->ref;
              for (; char_ref; char_ref = char_ref->next)
                if (char_ref->type == REF_SUBSTRING)
                   [......]
                      break;
                  }
              gcc_assert (char_ref != NULL);


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2007-05-09 22:53:25
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31879


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