From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27669 invoked by alias); 7 Dec 2004 05:38:16 -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 27660 invoked by uid 48); 7 Dec 2004 05:38:13 -0000 Date: Tue, 07 Dec 2004 05:38:00 -0000 From: "simonb at wasabisystems dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20041207053812.18863.simonb@wasabisystems.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/18863] New: ICE in find_reloads X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg00938.txt.bz2 List-Id: Trying to compile a simple program results in: zlib.i: In function 'huft_build': zlib.i:26: internal compiler error: in find_reloads, at reload.c:3911 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. when compiled with gcc version 4.0.0 20041206 (experimental) Here is the test program (reduced from some code in the zlib compression library): void huft_build (const int *, int *); struct inflate_huft_s { union { char Exop; } word; int base; }; void huft_build(e, v) const int *e; int *v; { int k; struct inflate_huft_s r, *u[15]; k = 0; u[0] = 0; for (; k <= 16; k++) { u[0][0] = r; if (*v < 19) r.word.Exop = (char)(e[*v] + 64); } } -- Summary: ICE in find_reloads Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: simonb at wasabisystems dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i386-unknown-netbsdelf2.0F GCC host triplet: i386-unknown-netbsdelf2.0F GCC target triplet: ns32k--netbsd http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18863