OSDN Git Service

2009-08-31 Janus Weil <janus@gcc.gnu.org>
authorjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Aug 2009 10:22:32 +0000 (10:22 +0000)
committerjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Aug 2009 10:22:32 +0000 (10:22 +0000)
commiteb67c215519d8619b801c38ac575c38f8777f07b
tree10c30d1e9b304179c69b618cd75553a751574792
parent1c0007f7c7e1be0bd7bb9b41eb4e8d4630209e89
2009-08-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/40996
* check.c (gfc_check_allocated): Implement allocatable scalars.
* resolve.c (resolve_allocate_expr,resolve_fl_var_and_proc): Ditto.
* trans-intrinsic.c (gfc_conv_allocated): Ditto.

2009-08-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/40996
* gfortran.dg/allocatable_scalar_1.f90: New.
* gfortran.dg/allocatable_scalar_2.f90: Renamed from finalize_9.f03.
* gfortran.dg/finalize_9.f03: Renamed to allocatable_scalar_2.f90.
* gfortran.dg/proc_ptr_comp_pass_4.f90: Modified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151240 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/resolve.c
gcc/fortran/trans-intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocatable_scalar_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/allocatable_scalar_2.f90 [moved from gcc/testsuite/gfortran.dg/finalize_9.f03 with 89% similarity]
gcc/testsuite/gfortran.dg/proc_ptr_comp_pass_4.f90