From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27708 invoked by alias); 9 Dec 2008 20:15:25 -0000 Received: (qmail 26932 invoked by uid 48); 9 Dec 2008 20:14:02 -0000 Date: Tue, 09 Dec 2008 20:15:00 -0000 Subject: [Bug middle-end/38459] New: [graphite] SEGFAULT in cloog_clast_create X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "grosser 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: 2008-12/txt/msg00883.txt.bz2 In the current graphite branch we fail with a SEGFAULT. #0 0x28ed1fb1 in _malloc_prefork () from /lib/libc.so.7 #1 0x28ed6f45 in realloc () from /lib/libc.so.7 #2 0x28c9d019 in __gmp_default_reallocate () from /usr/local/lib/libgmp.so.7 #3 0x28cb0a4e in __gmpz_realloc () from /usr/local/lib/libgmp.so.7 #4 0x28cb14ce in __gmpz_set () from /usr/local/lib/libgmp.so.7 #5 0x28ce44ec in insert_loop (loop=0x291b56e0, level=4, scalar=0, next=0xbfbfe7f0, infos=0x291b53c0) at source/ppl/clast.c:1446 #6 0x28ce46fd in insert_loop (loop=0x291b5340, level=3, scalar=0, next=0xbfbfe7f0, infos=0x291b53c0) at source/ppl/clast.c:1480 #7 0x28ce46fd in insert_loop (loop=0x291b53e0, level=2, scalar=0, next=0xbfbfe7f0, infos=0x291b53c0) at source/ppl/clast.c:1480 #8 0x28ce46fd in insert_loop (loop=0x291b5360, level=1, scalar=0, next=0xbfbfe7f0, infos=0x291b53c0) at source/ppl/clast.c:1480 #9 0x28ce492f in cloog_clast_create (program=0x2910bfe0, options=0x2916f1c0) at source/ppl/clast.c:1518 #10 0x08a15cf2 in find_transform (scop=0x29132310) at ../../../git/gcc/graphite.c:4238 #11 0x08a189a8 in graphite_transform_loops () at ../../../git/gcc/graphite.c:5386 It seems we do not initialize the cloog data structures correct or there is a bug in cloog. -- Summary: [graphite] SEGFAULT in cloog_clast_create Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: grosser at gcc dot gnu dot org ReportedBy: grosser at gcc dot gnu dot org OtherBugsDependingO 37894 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38459