From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17876 invoked by alias); 19 Aug 2007 13:47:31 -0000 Received: (qmail 16981 invoked by uid 48); 19 Aug 2007 13:47:10 -0000 Date: Sun, 19 Aug 2007 13:47:00 -0000 Message-ID: <20070819134710.16980.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/32378] can't determine dependence (distinct sections of an array) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dorit at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-08/txt/msg01271.txt.bz2 ------- Comment #6 from dorit at gcc dot gnu dot org 2007-08-19 13:47 ------- > Sebastian - any thughts/plans? Here's another testcase: subroutine sub(aa,bb,n,m) implicit none integer, intent(in) :: n,m real, intent(inout) :: aa(n,m) real, intent(in) :: bb(n,m) integer :: i,j do j= 2,n do i = 1,m aa(i,j)= aa(i,j-1)+bb(i,j-1) enddo enddo end subroutine end Here too we get: (compute_affine_dependence (stmt_a = D.1385_55 = (*aa_54(D))[D.1384_53]) (stmt_b = (*aa_54(D))[D.1380_49] = D.1390_62) (subscript_dependence_tester (analyze_overlapping_iterations (chrec_a = {pretmp.34_76 + 1, +, 1}_2) (chrec_b = {pretmp.34_32 + 1, +, 1}_2) (analyze_siv_subscript siv test failed: unimplemented. ) (overlap_iterations_a = not known ) (overlap_iterations_b = not known ) ) (dependence classified: scev_not_known) ) ) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32378