From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10176 invoked by alias); 15 Aug 2013 17:36:49 -0000 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 Received: (qmail 10154 invoked by uid 48); 15 Aug 2013 17:36:48 -0000 From: "aaro.koskinen at iki dot fi" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/58158] internal compiler error: in extract_insn, at recog.c:2150 while compiling ImageMagick on mipsel Date: Thu, 15 Aug 2013 17:36: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-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aaro.koskinen at iki dot fi X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-08/txt/msg00820.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58158 --- Comment #1 from Aaro Koskinen --- A simplified reproducer: $ cat bar.c extern void foo(void); static inline double max(const double x, const double y) { return (x > y) ? x : y; } void bar(int d) { int i; for (i = 0; i < (int)max(100.0 * d, 1.0); i++) { foo(); } } $ gcc -c -O2 bar.c bar.c: In function 'bar': bar.c:15:1: error: unrecognizable insn: } ^ (insn 23 22 24 2 (set (reg:SI 203 [ D.1511 ]) (if_then_else:SI (ne:CC (reg:CC 67 $fcc0) (const_int 0 [0])) (reg:SI 203 [ D.1511 ]) (reg:SI 206))) -1 (nil)) bar.c:15:1: internal compiler error: in extract_insn, at recog.c:2150 Please submit a full bug report, with preprocessed source if appropriate. See for instructions.