http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51754
--- Comment #11 from Mikael Morin <mikael at gcc dot gnu.org> 2012-02-02 23:11:01 UTC --- Author: mikael Date: Thu Feb 2 23:10:55 2012 New Revision: 183853 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183853 Log: 2012-02-02 Mikael Morin <mik...@gcc.gnu.org> PR fortran/41587 PR fortran/46356 PR fortran/51754 PR fortran/50981 * class.c (insert_component_ref, class_data_ref_missing, gfc_fix_class_refs): New functions. * gfortran.h (gfc_fix_class_refs): New prototype. * trans-expr.c (gfc_conv_expr): Remove special case handling and call gfc_fix_class_refs instead. 2012-02-02 Mikael Morin <mik...@gcc.gnu.org> PR fortran/41587 * gfortran.dg/class_array_10.f03: New test. PR fortran/46356 * gfortran.dg/class_array_11.f03: New test. PR fortran/51754 * gfortran.dg/class_array_12.f03: New test. Added: trunk/gcc/testsuite/gfortran.dg/class_array_10.f03 trunk/gcc/testsuite/gfortran.dg/class_array_11.f03 trunk/gcc/testsuite/gfortran.dg/class_array_12.f03 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/class.c trunk/gcc/fortran/gfortran.h trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog