[Bug fortran/38849] ICE in fold_convert with C_F_POINTER and C binding

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 26 11:49:00 GMT 2012


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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |

--- Comment #5 from janus at gcc dot gnu.org 2012-04-26 11:49:14 UTC ---
With gfortran 4.6.3 and later I get:


  myfortran_error(1:1) = chararr(1)
                         1
Error: The pointer object 'chararr' at (1) must have an explicit function
interface or be declared as array



The error message is not extremely clear about what is wrong, but at least
there is no ICE any more. Is it worth to improve the error message, or should
we just close this one?



More information about the Gcc-bugs mailing list