https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109105
--- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Created attachment 58853 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58853&action=edit Proposed patch to clean this up. Attached patch uses a simple helper macro, CHECK_INTERFACES, to avoid the use of goto bad_op. All the snprintf calls are replaced by appropriate direct gfc_error calls. Roland, please let me know if this resolves the isseue. Regression tested on linux-x86_64. No new test cases.