https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118789
--- Comment #2 from Sam James <sjames at gcc dot gnu.org> --- Created attachment 60416 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60416&action=edit fckit_C_interop.F90.fii.xz ``` $ gfortran -c fckit_C_interop.F90.fii /tmp/fckit/src/fckit/module/fckit_C_interop.F90:80:31: 80 | FCKIT_SUPPRESS_UNUSED(cptr) | 1 internal compiler error: in gfc_add_modify_loc, at fortran/trans.cc:229 0x5f8d713e03e0 internal_error(char const*, ...) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic-global-context.cc:517 0x5f8d713e057b fancy_abort(char const*, int, char const*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic.cc:1722 0x5f8d709a0746 gfc_add_modify_loc(unsigned long, stmtblock_t*, tree_node*, tree_node*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/fortran/trans.cc:229 0x5f8d709a0746 gfc_add_modify(stmtblock_t*, tree_node*, tree_node*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/fortran/trans.cc:241 0x5f8d721f826d trans_associate_var /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/fortran/trans-stmt.cc:2294 0x5f8d721fa3bf gfc_trans_block_construct(gfc_code*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/fortran/trans-stmt.cc:2478 0x5f8d720b4727 trans_code /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/fortran/trans.cc:2434 0x5f8d72139095 gfc_trans_code(gfc_code*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/fortran/trans.cc:2698 0x5f8d72139095 gfc_generate_function_code(gfc_namespace*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/fortran/trans-decl.cc:8087 0x5f8d720c8591 gfc_generate_module_code(gfc_namespace*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/fortran/trans.cc:2765 0x5f8d7202b015 translate_all_program_units /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/fortran/parse.cc:7365 0x5f8d7202b015 gfc_parse_file() /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/fortran/parse.cc:7695 0x5f8d720c7f80 gfc_be_parse_file /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/fortran/f95-lang.cc:241 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions. ```