From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22190 invoked by alias); 30 Dec 2014 15:32: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 Received: (qmail 22137 invoked by uid 48); 30 Dec 2014 15:31:58 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/64412] [regression] ICE in offload compiler: in extract_insn, at recog.c:2327 Date: Tue, 30 Dec 2014 15:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2014-12/txt/msg02949.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64412 --- Comment #17 from Uro=C5=A1 Bizjak --- (In reply to H.J. Lu from comment #16) > > > This is generated in the backend: > >=20 > > Yes, but the question is, why somehow similar testcase legitimizes the > > address correctly with -fpic, while the original testcase doesn't. >=20 > My impressions are most of PIC addresses like: >=20 > 6: r92:DI=3D[const(unspec[`G'] 2)] > 7: r91:DI=3Dr92:DI > REG_EQUAL `G' > 8: {r90:DI=3Dr89:DI+r91:DI;clobber flags:CC;} >=20 > is generated by x86 backend vi ix86_expand_move and x86 backend was never > presented with other opportunities before. X86 backend isn't prepared to > handle some RTL expansions from offload. The x86 backend did survive many years just fine, so I think offload should= be fixed to follow approach that generic middle-end takes. The testcase I post= ed expands without problems; in this case middle-end knows that symbol address= has to be moved to a register. It looks like offload bypasses generic expansion functions (that would magically fix this issue). >>From gcc-bugs-return-471944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 30 15:34:02 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24427 invoked by alias); 30 Dec 2014 15:34: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 24400 invoked by uid 48); 30 Dec 2014 15:33:58 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/64443] New std::string implementation breaks tests on AArch64. Date: Tue, 30 Dec 2014 15:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: --- 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/msg02951.txt.bz2 Content-length: 214 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64443 --- Comment #2 from Jonathan Wakely --- Probably the same issue as PR 64368 so it's probably a problem with the non-gnu clocale model.