https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93777
--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Thanks. Both cases involve a casting from a NULL pointer type to a REFERENCE_TYPE (the f90 case to a REAL_TYPE, the .C case to an INTEGER_TYPE).