https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Removing the gcc_assert allows the code to compile. Confirmed, but it leads to wrong code: if I use the module with use myptr_mod print *, "'", char_data, "'", int_data print *, "'", number_string, "'", number end the output is 'forty two ' 42 '' 42 Note that compiling the test in pr68569 gives an ICE at the same gcc_assert. If I remove the assert, the ICE becomes subroutine s(n) internal compiler error: in gfc_conv_string_init, at fortran/trans-const.c:149