From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25084 invoked by alias); 20 Jan 2015 19:18: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 25055 invoked by uid 48); 20 Jan 2015 19:18:30 -0000 From: "vhaisman at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64697] C++11 thread_local: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init function for N::ptd' Date: Tue, 20 Jan 2015 19:18: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.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vhaisman at gmail 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: attachments.created 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-01/txt/msg02099.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64697 --- Comment #2 from V=C3=A1clav Zeman --- Created attachment 34504 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D34504&action=3Dedit def.cxx >>From gcc-bugs-return-474104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 20 19:18:10 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24361 invoked by alias); 20 Jan 2015 19:18:09 -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 24330 invoked by uid 48); 20 Jan 2015 19:18:05 -0000 From: "vhaisman at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64697] C++11 thread_local: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init function for N::ptd' Date: Tue, 20 Jan 2015 19:18: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.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vhaisman at gmail 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: attachments.created 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-01/txt/msg02098.txt.bz2 Content-length: 232 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64697 --- Comment #1 from V=C3=A1clav Zeman --- Created attachment 34503 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D34503&action=3Dedit def.hxx >>From gcc-bugs-return-474106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 20 19:19:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25899 invoked by alias); 20 Jan 2015 19:19:10 -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 25841 invoked by uid 48); 20 Jan 2015 19:19:01 -0000 From: "vhaisman at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64697] C++11 thread_local: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init function for N::ptd' Date: Tue, 20 Jan 2015 19:19: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.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vhaisman at gmail 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: attachments.created 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-01/txt/msg02100.txt.bz2 Content-length: 232 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64697 --- Comment #3 from V=C3=A1clav Zeman --- Created attachment 34505 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D34505&action=3Dedit use.cxx >>From gcc-bugs-return-474107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 20 19:21:25 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27743 invoked by alias); 20 Jan 2015 19:21:23 -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 27209 invoked by uid 48); 20 Jan 2015 19:21:16 -0000 From: "jiwang at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/64669] [5 Regression] aarch64-linux profiledbootstrap failure Date: Tue, 20 Jan 2015 19:21: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: jiwang at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jiwang 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg02101.txt.bz2 Content-length: 746 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64669 --- Comment #10 from Jiong Wang --- (In reply to Richard Henderson from comment #8) > Indeed, if I force used_in_cond_stmt_p to return false, which forces > the use of the emit_cstore path, which means we return a proper > boolean value instead of a CCmode value, the test case doesn't ICE. > > Moreover, combine does in fact remove the redundant compare and we > are left with > > cmp w0, 39 > ccmp w0, 10, 4, ne > bne .L19 > > I think I was wrong to approve the ccmp patch with the used_in_cond_stmt_p > logic in the first place, and that it should all be removed. Richard, will you send out the patch? I could help testing