This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18787] [hppa] sysdeps/unix/sysv/linux/hppa/bits/atomic.h:71:6: error: canât find a register in class âR1_REGSâ while reloading âasmâ
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 08 Aug 2015 05:12:37 +0000
- Subject: [Bug libc/18787] [hppa] sysdeps/unix/sysv/linux/hppa/bits/atomic.h:71:6: error: canât find a register in class âR1_REGSâ while reloading âasmâ
- Auto-submitted: auto-generated
- References: <bug-18787-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18787
--- Comment #2 from cvs-commit at gcc dot gnu.org <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 <dave.anglin@bell.net>
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.