2016-01-26 Paul Thomas <pault@gcc.gnu.org>
commit80adbd968d26b269eea7fdb31344187cc637ac10
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Jan 2016 21:57:12 +0000 (26 21:57 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Jan 2016 21:57:12 +0000 (26 21:57 +0000)
tree5331c8663e115052957bc948d2c8726950cbc3dd
parent6a3851501b462a14d3b16353369db157b732a1a6
2016-01-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/69385
* trans-expr.c (gfc_trans_assignment_1): Exclude initialization
assignments from check on assignment of scalars to unassigned
arrays and correct wrong code within the corresponding block.

2015-01-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/69385
* gfortran.dg/allocate_error_6.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232850 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_error_6.f90 [new file with mode: 0644]