Commit cdf0919d by Thomas Koenig

re PR fortran/20520 (allocatable arrays used uninitialized without a warning)

2018-10-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/20520
	* gfortran.dg/allocatable_uninitialized_1.f90: New test.

From-SVN: r265698
parent d459595b
2018-10-31 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/20520
* gfortran.dg/allocatable_uninitialized_1.f90: New test.
2018-10-31 Nathan Sidwell <nathan@acm.org>
* g++.dg/lookup/friend21.C: New.
......
! { dg-do compile }
! { dg-options "-O -Wall" }
program main
real,allocatable:: a(:),b(:)
a(1)=2*b(1) ! { dg-warning "uninitialized" }
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