From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14511 invoked by alias); 11 Dec 2012 11:19:33 -0000 Received: (qmail 14438 invoked by uid 48); 11 Dec 2012 11:19:12 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54121] [4.7/4.8 regression] ICE at extract_insn, at recog.c:2123 with -fprofile-generate Date: Tue, 11 Dec 2012 11:19: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: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.3 X-Bugzilla-Changed-Fields: CC 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: 2012-12/txt/msg01096.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54121 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Eric Botcazou 2012-12-11 11:19:11 UTC --- Jakub, I presume it's an oversight that the combined tldo_add + store patterns have a "=r" constraint on the source operand: (define_insn "*tldo_stb_sp32" [(set (mem:QI (plus:SI (unspec:SI [(match_operand:SI 2 "register_operand" "r") (match_operand 3 "tld_symbolic_operand" "")] UNSPEC_TLSLDO) (match_operand:SI 1 "register_operand" "r"))) (match_operand:QI 0 "register_operand" "=r"))] "TARGET_TLS && TARGET_ARCH32" "stb\t%0, [%1 + %2], %%tldo_add(%3)" [(set_attr "type" "store")])