Patch committed as obvious/trivial. I didn't think that it warranted a testcase since there is no way that this one will come back.
Thanks for the report. Paul ---------- Forwarded message ---------- From: pault at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> Date: 28 February 2017 at 19:32 Subject: [Bug fortran/79739] [7 Regression] ICE with some interesting code To: pa...@gcc.gnu.org https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79739 --- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Tue Feb 28 19:32:02 2017 New Revision: 245787 URL: https://gcc.gnu.org/viewcvs?rev=245787&root=gcc&view=rev Log: 2017-02-28 Paul Thomas <pa...@gcc.gnu.org> PR fortran/79739 * resolve.c (resolve_fl_procedure): Deal with the case where 'submodule_name' is NULL so that gfc_error does not ICE. Reformat the error message to make it more consistent. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/resolve.c -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. -- "If you can't explain it simply, you don't understand it well enough" - Albert Einstein