http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55172
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> 2013-01-04 20:50:23 UTC --- Author: pault Date: Fri Jan 4 20:50:15 2013 New Revision: 194916 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194916 Log: 2013-01-04 Paul Thomas <pa...@gcc.gnu.org> PR fortran/55172 * match.c (copy_ts_from_selector_to_associate): Remove call to gfc_resolve_expr and replace it with explicit setting of the array reference type. * resolve.c (resolve_select_type): It is an error if the selector is coindexed. 2013-01-04 Paul Thomas <pa...@gcc.gnu.org> PR fortran/55172 * gfortran.dg/select_type_31.f03: New test. Added: trunk/gcc/testsuite/gfortran.dg/select_type_31.f03 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/match.c trunk/gcc/fortran/resolve.c trunk/gcc/testsuite/ChangeLog