re PR fortran/71859 (ICE on same variable/subroutine name (verify_gimple failed))
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 28 Jul 2016 17:48:54 +0000 (17:48 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 28 Jul 2016 17:48:54 +0000 (17:48 +0000)
commit1b70aaad4c090c90d69c514138a8c157af930b57
tree495433b2b5b20e6c292bc4b9a9e31ba6559041cc
parent717a7673782bff840ea538efd9fb1e2e8d2b816a
re PR fortran/71859 (ICE on same variable/subroutine name (verify_gimple failed))

2016-07-28  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/71859
* check.c(numeric_check): Prevent ICE.  Issue error for invalid
subroutine as an actual argument when numeric argument is expected.

2016-07-28  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/71859
* gfortran.dg/pr71859.f90: New test.
* gfortran.dg/intrinsic_numeric_arg.f: Update error message.
* gfortran.dg/coarray_collectives_1.f90: Ditto.

From-SVN: r238825
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_collectives_1.f90
gcc/testsuite/gfortran.dg/intrinsic_numeric_arg.f
gcc/testsuite/gfortran.dg/pr71859.f90 [new file with mode: 0644]