From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20979 invoked by alias); 6 Nov 2007 13:17:38 -0000 Received: (qmail 20908 invoked by uid 48); 6 Nov 2007 13:17:14 -0000 Date: Tue, 06 Nov 2007 13:17:00 -0000 Message-ID: <20071106131714.20904.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/33953] [4.3 regression] internal compiler error: vector VEC(tree,base) index domain error, in vectorizable_operation at tree-vect-transform.c:4017 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "irar at il dot ibm dot com" 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-11/txt/msg00467.txt.bz2 ------- Comment #8 from irar at il dot ibm dot com 2007-11-06 13:17 ------- (In reply to comment #6) > (In reply to comment #2) > > For example vect_get_vec_defs_for_stmt_copy > > doesn't allocate the VECs which is exactly what causes the problem here. > > vect_get_vec_defs_for_stmt_copy is not called here, it is used to create vector > copies in case of multiple types in the loop. It should reuse the VEC used for > the first copy. I think, there is indeed a problem here. We should overwrite > the existing entries and not push the new ones. I'll look into this. I thought that there is a problem, because I missed the first pop there. I think this function is O.K. Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33953