From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20527 invoked by alias); 27 Nov 2013 16:14:33 -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 20496 invoked by uid 48); 27 Nov 2013 16:14:27 -0000 From: "robert.suchanek at imgtec dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/59317] New: [4.9 Regression] [LRA,MIPS] ICE: in check_rtl, at lra.c (insn does not satisfy constraints) Date: Wed, 27 Nov 2013 16:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: robert.suchanek at imgtec dot com 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: 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: 2013-11/txt/msg02818.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59317 Bug ID: 59317 Summary: [4.9 Regression] [LRA,MIPS] ICE: in check_rtl, at lra.c (insn does not satisfy constraints) Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: robert.suchanek at imgtec dot com CC: vmakarov at redhat dot com Created attachment 31311 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D31311&action=3Dedit testcase It appears that the change in revision r205141 throws an ICE in the regress= ion with LRA enabled for mips16. I have attached a narrowed testcase, to reproduce it needs to be compiled w= ith -O2 -mips32 -mips16. ia64-1_testcase.c: In function =E2=80=98main=E2=80=99: ia64-1_testcase.c:81:1: internal compiler error: in check_rtl, at lra.c:2036 } ^ 0x821cbc check_rtl /scratch/mips_trunk/src/gcc/gcc/lra.c:2036 0x825eb4 lra(_IO_FILE*) /scratch/mips_trunk/src/gcc/gcc/lra.c:2414 0x7e302e do_reload /scratch/mips_trunk/src/gcc/gcc/ira.c:5452 0x7e302e rest_of_handle_reload /scratch/mips_trunk/src/gcc/gcc/ira.c:5581 0x7e302e execute /scratch/mips_trunk/src/gcc/gcc/ira.c:5610 The LRA generates the following piece of RTL that fails at check_rtl(): (insn 265 54 267 2 (set (reg:SI 8 $8 [339]) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (const:SI (unspec:SI [ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (const_int 0 [0]) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 ] UNSPEC_GP))) ia64-1_testcase.c:49 295 {*movsi_mips16} =C2=A0=C2=A0=C2=A0=C2=A0 (nil)) This does not satisfy the operand=E2=80=99s constrains in mov_mips16 = pattern.=20 The ICE appears to be triggered because of ALL_REGS assigned to new pseudos generated and the pseudo data gets expanded but I do not know how to fix it without breaking PR59133 again. >>From gcc-bugs-return-436042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 27 16:24:42 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29548 invoked by alias); 27 Nov 2013 16:24:41 -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 29470 invoked by uid 48); 27 Nov 2013 16:24:38 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59316] gcc.dg/atomic/c11-atomic-exec-5.c FAILs on Solaris/SPARC Date: Wed, 27 Nov 2013 16:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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-11/txt/msg02819.txt.bz2 Content-length: 602 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59316 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org --- Comment #3 from Rainer Orth --- Ah, I missed that. Perhaps a comment to that effect could be added to the testcase? Cc'ing Eric, since I'm not sure I'm up to implementing that for SPARC, although the OpenSolaris libm sources seem to be helpful. Thanks. Rainer