Commit 0260e278 by Thomas Koenig

re PR fortran/70330 (ICE with -Wextra -Wno-unused-dummy-argument and unused…

re PR fortran/70330 (ICE with -Wextra -Wno-unused-dummy-argument and unused optional dummy argument)

2017-11-04  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/70330
	* gfortran.dg/pr70330.f90: New test.

From-SVN: r254406
parent 9a3d38f6
2017-11-04 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/70330
* gfortran.dg/pr70330.f90: New test.
2017-11-04 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/29600
* gfortran.dg/minmaxloc_8.f90: New test.
......
! { dg-do compile }
! { dg-additional-options "-Wall -Wextra -Wno-unused-dummy-argument" }
! PR fortran/70330 - this used to cause an ICE.
! Test case by Vladimir Fuka
function f(o) ! { dg-warning "Return value of function" }
optional o
end function f
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment