From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2349 invoked by alias); 3 May 2006 15:40:13 -0000 Received: (qmail 2320 invoked by uid 48); 3 May 2006 15:40:10 -0000 Date: Wed, 03 May 2006 15:40:00 -0000 Message-ID: <20060503154010.2319.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug ada/26678] "GNAT BUG DETECTED" when compiling AWS. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "matz at suse dot de" 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 X-SW-Source: 2006-05/txt/msg00277.txt.bz2 List-Id: ------- Comment #10 from matz at suse dot de 2006-05-03 15:40 ------- We also got a bugreport about an ICE in get_constraint_for_component_ref, but have a C testcase. In the hope that it's the same reason I paste it here: --------------------------------- /* compile with gcc -c -O2 -o foo.o foo.c */ typedef struct { struct { } z; } thang_t; struct widget { struct widget *p, *q; }; typedef struct thing { struct widget x; } thing_t; struct { int a; int b; int c; int d; int e; thang_t f; thing_t g; } my_struct; static void foo(thang_t *r) { splat(r);} void function(int blaz) { foo(&my_struct.f);} -------------------------------------- This fails with 4.1.x on x86_64 with -O1 and beyond. -- matz at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matz at suse dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678