http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49636
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-02-10 CC| |pault at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Confirmed on 4.7, 4.8, and trunk (4.9 r207643). At r207649, compiling the test gives the following ICE: pr49636.f90:14:0: internal compiler error: in gfc_get_element_type, at fortran/trans-types.c:1183 print '(" i_bad=", 3I10)', i(1:3) It is caused by r207646 Author: pault Date: Sun Feb 9 20:50:21 2014 UTC (12 hours, 41 minutes ago) Changed paths: 5 Log Message: 2014-02-09 Paul Thomas <pa...@gcc.gnu.org> PR fortran/57522 * resolve.c (resolve_assoc_var): Set the subref_array_pointer attribute for the 'associate-name' if necessary. * trans-stmt.c (trans_associate_var): If the 'associate-name' is a subref_array_pointer, assign the element size of the associate variable to 'span'. 2014-02-09 Paul Thomas <pa...@gcc.gnu.org> PR fortran/57522 * gfortran.dg/associated_target_5.f03 : New test