From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12377 invoked by alias); 20 Feb 2014 11:42:24 -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 12287 invoked by uid 48); 20 Feb 2014 11:42:20 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/57896] [4.7/4.8/4.9 Regression] ICE in expand_expr_real_2 Date: Thu, 20 Feb 2014 11:42: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.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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.7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 2014-02/txt/msg02097.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57896 --- Comment #25 from Jakub Jelinek --- Created attachment 32180 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32180&action=edit gcc48-pr57896.patch So like this (4.8 version, untested)? Uros, can you please double-check it? The point is, if d->testing_p is true, we should do as few work as possible, certainly not call any emit_insn or gen_reg_rtx, and as soon as we know we'll certainly eventually return true, return it.