From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12196 invoked by alias); 16 Aug 2011 08:42:41 -0000 Received: (qmail 12186 invoked by uid 22791); 16 Aug 2011 08:42:40 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Aug 2011 08:42:25 +0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/50092] [4.4/4.5/4.6/4.7 Regression] internal compiler error: in elimination_costs_in_insn, at reload1.c:3633 Date: Tue, 16 Aug 2011 08:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.4.7 X-Bugzilla-Changed-Fields: Status Last reconfirmed Known to work Target Milestone Summary Ever Confirmed Known to fail Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2011-08/txt/msg01409.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50092 Richard Guenther changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011-08-16 Known to work| |4.3.6 Target Milestone|--- |4.4.7 Summary|internal compiler error: in |[4.4/4.5/4.6/4.7 |elimination_costs_in_insn, |Regression] internal |at reload1.c:3633 |compiler error: in | |elimination_costs_in_insn, | |at reload1.c:3633 Ever Confirmed|0 |1 Known to fail| |4.4.6, 4.5.3, 4.6.1 --- Comment #1 from Richard Guenther 2011-08-16 08:42:04 UTC --- Confirmed. Reduced testcase: int main(int argc, char **argv) { int i; _Complex long double vector[100000000]; for (i=0 ; i<10 ; i++) printf("Valor: %Lf\n", (long double) rand()/ 2147483648.0); printf ("La posicion 5 tiene el valor: %Le\n", (long double) vector[5]); } ICEs in various ways depending on optimization level. With -m32 the array is diagnosed as being too large. At -O1: t.3.i: In function 'main': t.3.i:6:5: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] t.3.i:8:1: error: unrecognizable insn: (insn 46 15 18 3 (parallel [ (set (reg:XF 71) (float:XF (reg:SI 63 [ D.2730 ]))) (clobber (mem/c:SI (plus:DI (reg/f:DI 20 frame) (const_int -3200000004 [0xffffffff4143dffc])) [0 S4 A32])) ]) t.3.i:6 -1 (nil)) t.3.i:8:1: internal compiler error: in extract_insn, at recog.c:2115 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. 4.3 is happy with the code.