[Bug fortran/85357] ICE on invalid code with equal procedure names

2018-12-29 Thread c...@mnet-mail.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85357

--- Comment #10 from c...@mnet-mail.de ---
Thanks for the fix, and a Happy New Year to you guys!

[Bug fortran/85357] ICE on invalid code with equal procedure names

2018-12-26 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85357

kargl at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P4
 Status|NEW |RESOLVED
 CC||kargl at gcc dot gnu.org
 Resolution|--- |FIXED
   Target Milestone|--- |9.0

--- Comment #9 from kargl at gcc dot gnu.org ---
Having reviewed the audit trail, I agree with Janus' assessment with regard to
the invalid code.  The reported ICE is gone on branch-7, branch-8, and trunk. I
have converted his code in comment #7 to a testcase and committed it to trunk
to ensure that the ICE does not return.

[Bug fortran/85357] ICE on invalid code with equal procedure names

2018-12-26 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85357

--- Comment #8 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Wed Dec 26 21:08:53 2018
New Revision: 267423

URL: https://gcc.gnu.org/viewcvs?rev=267423&root=gcc&view=rev
Log:
2018-12-26  Steven G. Kargl  

PR fortran/85357
* gfortran.df/pr85357.f90: New test.

Added:
trunk/gcc/testsuite/gfortran.dg/pr85357.f90
Modified:
trunk/gcc/testsuite/ChangeLog

[Bug fortran/85357] ICE on invalid code with equal procedure names

2018-08-30 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85357

--- Comment #7 from janus at gcc dot gnu.org ---
Further reduced test case for the ICE:


module base
   implicit none
contains
   subroutine summation(i)
  integer, intent(in) :: i
   end subroutine
end module

module extended
   use base
   implicit none
contains
   subroutine summation()
   end subroutine
end module