Commit f5b72b67 by Thomas Koenig

re PR fortran/91556 (Problems with better interface checking)

2019-09-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/91556
	* gfortran.dg/warn_argument_mismatch_1.f90: Remove.

From-SVN: r275726
parent a0264d2c
2019-09-15 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/91556
* gfortran.dg/warn_argument_mismatch_1.f90: Remove.
2019-09-14 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/91557
......
! { dg-do compile }
! { dg-options "-std=legacy -Wno-argument-mismatch" }
!
! No warnings should be output here with -Wno-argument-mismatch.
!
subroutine s1(x)
implicit none
integer, intent(in) :: x
print *, x
end subroutine
subroutine s2(x)
implicit none
integer, intent(in) :: x(1)
print *, x
end subroutine
subroutine s3(x)
implicit none
integer, intent(in) :: x(2)
print *, x
end subroutine
implicit none
integer :: x, y(1)
real :: r
call s1(r)
call s1(y)
call s2(x)
call s3(y)
end
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