https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104313
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gcc dot gnu.org
--- Comment #7 from anlauf at gcc dot gnu.org ---
(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" } }