From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2650 invoked by alias); 28 May 2010 07:38:41 -0000 Received: (qmail 2606 invoked by uid 48); 28 May 2010 07:38:25 -0000 Date: Fri, 28 May 2010 07:38:00 -0000 Subject: [Bug tree-optimization/44303] New: [graphite] Segmentation fault within CLooG X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "nbenoit at tuxfamily 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: 2010-05/txt/msg03098.txt.bz2 The following code segfaults GCC 4.5 (and GCC trunk 159536) when compiled with : $ gcc -O1 -floop-parallelize-all test-17.c Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7bce389 in cloog_domain_stride (domain=, strided_level=, nb_par=, stride=, offset=) at source/ppl/domain.c:2813 2813 cloog_vector_gcd (U->p[0], U->NbColumns, stride); GCC built with : cloog-ppl-0.15.9 ; gmp-4.3.2 ; mpc-0.8.1 ; mpfr-2.4.2 ; ppl-0.10.2 The crash seems to be very specific to this value of N. #define N 4 int A[N][N][N]; void kernel ( void ) { unsigned int i, j, k; for ( i=0; i