[Bug fortran/88116] [8/9 Regression] ICE in gfc_convert_constant(): Unexpected type

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Thu Nov 22 09:36:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88116

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-11-22
      Known to work|                            |4.9.3
     Ever confirmed|0                           |1
      Known to fail|                            |5.5.0, 6.5.0, 7.3.0, 8.2.0,
                   |                            |9.0

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
compiling the first test in comment 0 gives an ICE without
gfc_convert_constant(): Unexpected type for GCC5 to GCC7, with GCC4.9 I get the
error

pr88116.f90:2.46:

   print *, [integer :: 1, [integer(8) :: 2, ['3']]]
                                              1
Error: Can't convert CHARACTER(1) to INTEGER(8) at (1)

All the other tests behave as I expect with 4.9.3.


More information about the Gcc-bugs mailing list