From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21692 invoked by alias); 24 May 2005 14:21:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21572 invoked by uid 48); 24 May 2005 14:21:27 -0000 Date: Tue, 24 May 2005 14:24:00 -0000 Message-ID: <20050524142127.21571.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050524080015.21734.stefaandr@hotmail.com> References: <20050524080015.21734.stefaandr@hotmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/21734] [4.1 regression] ICE: -ftree-vectorize, segfault X-Bugzilla-Reason: CC X-SW-Source: 2005-05/txt/msg03273.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-24 14:21 ------- Here is a C testcase: struct a { int aa[4]; }; struct b { struct a aa; }; void foo(struct b *bb) { int i; for (i=0; i<4; ++i) { struct a *aa = &bb->aa; struct a *aa1 = aa; struct a *aa2 = aa1; int *d = &aa2->aa[i]; *d = 0; } } I think this is caused by the forwprop changes. (Notice the extra variables to reproduce this bug). -- What |Removed |Added ---------------------------------------------------------------------------- CC| |law at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21734