https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104313

--- Comment #8 from kargl at gcc dot gnu.org ---
(In reply to anlauf from comment #7)
> (In reply to Steve Kargl from comment #6)
> > The patch in comment 2 fixes the issue.  It was submitted
> > 13 hours after the initial report.
> 
> Steve, if you like, I can commit your patch under your name.
> It's pretty obvious.
> 
> How about the following testcase?
> 
> ! { dg-do compile }
> ! { dg-additional-options "-ff2c -fdump-tree-original" }
> !
> ! PR fortran/104313 - ICE verify_gimple failed with -ff2c
> ! Contributed by G.Steinmetz
> 
>       function f(a)
>       return
>       end
> 
> ! { dg-final { scan-tree-dump-times "return" 1 "original" } }

LGTM.

Whether my name appears or not isn't important to me.  A working compiler is. 
The patch itself seems obvious, and I suspect you would have eventually found
it. So commit as yo see fit.

Reply via email to