------- Comment #7 from pault at gcc dot gnu dot org 2009-06-29 09:20 ------- (In reply to comment #6) > (In reply to comment #5) > The following fixes the problem. It needs to be checked to see if it is > over-restrictive.
Yes it is - there is no need for this when the lhs section is contiguous. I have modified gfc_full_array_ref_p to return a pointer to a boolean, which indicates if the reference is contiguous or not. This works correctly with the testcase and variants. I will regtest and post to the list tonight. Cheers Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40551