OSDN Git Service

2011-06-19 Janus Weil <janus@gcc.gnu.org>
authorjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 19 Jun 2011 21:05:18 +0000 (21:05 +0000)
committerjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 19 Jun 2011 21:05:18 +0000 (21:05 +0000)
commit77dd4f9ce67475d0a627438091e3ebf3d986b0e5
treeb04137721f00b165a8724c4d4750640470e0f3d2
parent18153c1effdcee0bda77f634591eafebb2480003
2011-06-19  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47601
* module.c (mio_component_ref): Handle components of extended types.
* symbol.c (gfc_find_component): Return if sym is NULL.

PR fortran/48699
* check.c (gfc_check_move_alloc): If 'TO' argument is polymorphic,
make sure the vtab is present.

PR fortran/49074
* interface.c (gfc_extend_assign): Propagate the locus from the
assignment to the type-bound procedure call.

PR fortran/49417
* module.c (mio_component): Make sure the 'class_ok' attribute is set
for use-associated CLASS components.
* parse.c (parse_derived): Check for 'class_ok' attribute.
* resolve.c (resolve_fl_derived): Ditto.

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

PR fortran/47601
* gfortran.dg/extends_13.f03: New.

PR fortran/48699
* gfortran.dg/move_alloc_5.f90: New.

PR fortran/49074
* gfortran.dg/typebound_assignment_3.f03: New.

PR fortran/49417
* gfortran.dg/class_43.f03: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175194 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/interface.c
gcc/fortran/module.c
gcc/fortran/parse.c
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_43.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/extends_13.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/move_alloc_5.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/typebound_assignment_3.f03 [new file with mode: 0644]