From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45976 invoked by alias); 8 Aug 2015 05:12:44 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 45925 invoked by uid 55); 8 Aug 2015 05:12:39 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/18787] [hppa] sysdeps/unix/sysv/linux/hppa/bits/atomic.h:71:6: error:=?UTF-8?Q?=20can=E2=80=99t=20find=20a=20register=20in=20class=20=E2=80=98R1=5FREGS=E2=80=99=20while=20reloading=20=E2=80=98asm=E2=80=99?= Date: Sat, 08 Aug 2015 05:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-08/txt/msg00237.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18787 --- Comment #2 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The branch, master has been updated via 74bc0c3a16e3c8f138e29a284e84d16474b65a8e (commit) from 5d5de49c3ccd69f65b801f1ca490a0112d1cbd7d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=74bc0c3a16e3c8f138e29a284e84d16474b65a8e commit 74bc0c3a16e3c8f138e29a284e84d16474b65a8e Author: John David Anglin Date: Fri Aug 7 13:37:35 2015 -0400 hppa: Fix reload error with atomic code [BZ #18787] As noted in the bug, the asm operands need to be copied to register variables to avoid operand reloads in the principal asm of the macro. See the arm implementation for reference. Otherwise we get: ../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:68:6: error: can't find a register in class 'R1_REGS' while reloading 'asm' Build tested on trunk with gcc-4.8. Similar patch has been tested with 2.19 on Debian hppa-unknown-linux-gnu. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 9 +++++++ NEWS | 2 +- sysdeps/unix/sysv/linux/hppa/bits/atomic.h | 35 +++++++++++++-------------- 3 files changed, 27 insertions(+), 19 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug.