[Bug fortran/31879] ICE with function having array of character variables argument

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 9 21:53:00 GMT 2007



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



More information about the Gcc-bugs mailing list