re PR fortran/49708 (ICE with allocate and no dimensions)
authorJanus Weil <janus@gcc.gnu.org>
Tue, 19 Jul 2011 12:38:59 +0000 (14:38 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 19 Jul 2011 12:38:59 +0000 (14:38 +0200)
commitb21a544bb1a94f29adc4fc812cda0766b9a048e9
tree82ac153c60a4d3190261bd322138ca4c235283ba
parent1b14d8150ed4a7194e3d63b262454e9b9446fe95
re PR fortran/49708 (ICE with allocate and no dimensions)

2011-07-19  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49708
* resolve.c (resolve_allocate_expr): Fix diagnostics for pointers.

2011-07-19  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49708
* gfortran.dg/allocate_error_3.f90: New.

From-SVN: r176447
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_error_3.f90 [new file with mode: 0644]