From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13920 invoked by alias); 14 Feb 2008 13:27:42 -0000 Received: (qmail 13764 invoked by uid 48); 14 Feb 2008 13:26:58 -0000 Date: Thu, 14 Feb 2008 13:27:00 -0000 Subject: [Bug c/35193] New: can't find a register in class 'R1_REGS' while reloading 'asm' X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "b dot gunreben at web dot de" 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 X-SW-Source: 2008-02/txt/msg01524.txt.bz2 when I try to compile a current glibc for hppa, I get the following error: gcc -O2 -c dcigettext.i dcigettext.c: In function ‘_nl_find_msg’: ../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:220: error: can't find a register in class 'R1_REGS' while reloading 'asm' dcigettext.c:1102: error: can't find a register in class 'R1_REGS' while reloading 'asm' dcigettext.c:1164: error: can't find a register in class 'R1_REGS' while reloading 'asm' dcigettext.c:1194: error: can't find a register in class 'R1_REGS' while reloading 'asm' ../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:220: error: 'asm' operand has impossible constraints dcigettext.c:1102: error: 'asm' operand has impossible constraints dcigettext.c:1164: error: 'asm' operand has impossible constraints dcigettext.c:1194: error: 'asm' operand has impossible constraints however, if I remove the lines with starting # signs in the preprocessed code like: grep -v "^#" dcigettext.i > x.i it just compiles. The original error also vanishes if I use -O instead of -O2. Adding preprocessed dcigettext.i, to reproduce, run gcc -O2 -c dcigettext.i -- Summary: can't find a register in class 'R1_REGS' while reloading 'asm' Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: b dot gunreben at web dot de GCC host triplet: hppa-suse-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35193