From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96391 invoked by alias); 25 Feb 2015 04:24:01 -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 96295 invoked by uid 48); 25 Feb 2015 04:23:58 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63805] ICE: in extract_insn, at recog.c:2327 with -mcpu=power8 Date: Wed, 25 Feb 2015 08:59: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg02737.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63805 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #4 from Martin Sebor --- A smaller test case still fails with GCC 5.0.0 20150221, on both ppc64 and ppc64le. 4.9.4 and 4.8.3 fail similarly. $ cat u.cpp && /build/gcc-trunk/gcc/xgcc -B /build/gcc-trunk/gcc -O2 -S -mcpu=3Dpower8 -xc++ u.cpp struct A { long a; int b; }; struct B { struct { } c; long a; int b; }; void foo (B); void bar () { A a; __atomic_load (&a, &a, 0); foo (B ()); } u.cpp: In function =E2=80=98void bar()=E2=80=99: u.cpp:17:1: error: unrecognizable insn: } ^ (insn 5 2 6 2 (set (reg:PTI 156) (unspec:PTI [ (mem/v:TI (plus:DI (reg/f:DI 150 virtual-stack-vars) (const_int 24 [0x18])) [-1 S16 A128]) ] UNSPEC_LSQ)) u.cpp:15 -1 (nil)) u.cpp:17:1: internal compiler error: in extract_insn, at recog.c:2343 0x109b11db _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/remote/msebor/fsf/gcc/trunk/gcc/rtl-error.c:110 0x109b1247 _fatal_insn_not_found(rtx_def const*, char const*, int, char con= st*) /home/remote/msebor/fsf/gcc/trunk/gcc/rtl-error.c:118 0x10977b87 extract_insn(rtx_insn*) /home/remote/msebor/fsf/gcc/trunk/gcc/recog.c:2343 0x106e0ddf instantiate_virtual_regs_in_insn /home/remote/msebor/fsf/gcc/trunk/gcc/function.c:1598 0x106e0ddf instantiate_virtual_regs /home/remote/msebor/fsf/gcc/trunk/gcc/function.c:1966 0x106e0ddf execute /home/remote/msebor/fsf/gcc/trunk/gcc/function.c:2015 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-478407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 25 05:45:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96802 invoked by alias); 25 Feb 2015 05:45:02 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96708 invoked by uid 48); 25 Feb 2015 05:44:59 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/64172] [4.9 Regression] Wrong code with GCC vector extensions on ARM when compiled without NEON Date: Wed, 25 Feb 2015 09:03: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.9.2 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc short_desc 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: 2015-02/txt/msg02739.txt.bz2 Content-length: 692 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64172 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at redhat dot com Summary|[4.9/5 Regression] Wrong |[4.9 Regression] Wrong code |code with GCC vector |with GCC vector extensions |extensions on ARM when |on ARM when compiled |compiled without NEON |without NEON --- Comment #15 from Jeffrey A. Law --- Fixed by Vlad's commit on the trunk.