From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13869 invoked by alias); 26 Dec 2014 19:35:57 -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 13825 invoked by uid 48); 26 Dec 2014 19:35:53 -0000 From: "iverbin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/64412] [regression] ICE in offload compiler: in extract_insn, at recog.c:2327 Date: Fri, 26 Dec 2014 19:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iverbin at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: 2014-12/txt/msg02766.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64412 --- Comment #2 from iverbin at gcc dot gnu.org --- (In reply to H.J. Lu from comment #1) > (In reply to iverbin from comment #0) > > To reproduce using Intel Xeon Phi emulation: > > 1. Build offload and host compilers as described in > > https://gcc.gnu.org/wiki/Offloading#How_to_try_offloading_enabled_GCC > > 2. Run make check-target-libgomp RUNTESTFLAGS="c.exp=e.53.5.c" > > Can you create a stanalone testcase for the Intel Xeon Phi offload > cross compiler? It will be easier to debug. The offload model in GCC implies 2 compilers: one produces IR for OpenMP target regions, and another compiles this IR for Intel Xeon Phi. There is no single compiler, which could stream offload IR out, then stream it in, and then compile. I can reduce e.53.5.c testcase, not sure whether this is helpful.