This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/49417] [4.6 Regression] [OOP] ICE on invalid CLASS component declaration
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 19 Jun 2011 21:05:27 +0000
- Subject: [Bug fortran/49417] [4.6 Regression] [OOP] ICE on invalid CLASS component declaration
- Auto-submitted: auto-generated
- References: <bug-49417-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49417
--- Comment #5 from janus at gcc dot gnu.org 2011-06-19 21:05:22 UTC ---
Author: janus
Date: Sun Jun 19 21:05:18 2011
New Revision: 175194
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175194
Log:
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.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/class_43.f03
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/extends_13.f03
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/move_alloc_5.f90
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/typebound_assignment_3.f03
Modified:
branches/gcc-4_6-branch/gcc/fortran/ChangeLog
branches/gcc-4_6-branch/gcc/fortran/check.c
branches/gcc-4_6-branch/gcc/fortran/interface.c
branches/gcc-4_6-branch/gcc/fortran/module.c
branches/gcc-4_6-branch/gcc/fortran/parse.c
branches/gcc-4_6-branch/gcc/fortran/resolve.c
branches/gcc-4_6-branch/gcc/fortran/symbol.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog