2012-06-08 Janus Weil <janus@gcc.gnu.org>
commitc73f762d00e5e7a55f9256fac839b406bbb1c51b
authorjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2012 17:26:11 +0000 (8 17:26 +0000)
committerjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2012 17:26:11 +0000 (8 17:26 +0000)
tree8d289d12a300ed4e057d71380dc78973a09d46df
parentaac15713122ec9ba16371433b87a3a8909415b7e
2012-06-08  Janus Weil  <janus@gcc.gnu.org>

PR fortran/52552
* match.c (gfc_match_allocate): Modify order of checks. Change wording
of error message. Remove FIXME note.
* resolve.c (resolve_allocate_expr): Add a comment.

2012-06-08  Janus Weil  <janus@gcc.gnu.org>

PR fortran/52552
* gfortran.dg/allocate_alloc_opt_1.f90: Modified.
* gfortran.dg/allocate_class_1.f90: Modified.
* gfortran.dg/allocate_with_typespec_4.f90: Modified.
* gfortran.dg/allocate_class_2.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188335 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_alloc_opt_1.f90
gcc/testsuite/gfortran.dg/allocate_class_1.f90
gcc/testsuite/gfortran.dg/allocate_class_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/allocate_with_typespec_4.f90