• rsandifo's avatar
    PR fortran/19928 · 598d8efb
    rsandifo authored
    	* trans-array.c (gfc_conv_array_ref): Call gfc_advance_se_ss_chain
    	after handling scalarized references.  Make "indexse" inherit from
    	"se" when handling AR_ELEMENTs.
    	(gfc_walk_variable_expr): Add GFC_SS_SCALAR entries for each
    	substring or scalar reference that follows an array section.
    	* trans-expr.c (gfc_conv_variable): When called from within a
    	scalarization loop, start out with "ref" pointing to the scalarized
    	part of the reference.  Don't call gfc_advance_se_ss_chain here.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104035 138bc75d-0d04-0410-961f-82ee72b054a4
    598d8efb
trans-expr.c 62.5 KB