public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/35193]  New: can't find a register in class 'R1_REGS' while reloading 'asm'
@ 2008-02-14 13:27 b dot gunreben at web dot de
  2008-02-14 13:29 ` [Bug c/35193] " b dot gunreben at web dot de
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: b dot gunreben at web dot de @ 2008-02-14 13:27 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2010-05-22 18:21 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-14 13:27 [Bug c/35193] New: can't find a register in class 'R1_REGS' while reloading 'asm' b dot gunreben at web dot de
2008-02-14 13:29 ` [Bug c/35193] " b dot gunreben at web dot de
2008-02-15  1:55 ` [Bug target/35193] " dave at hiauly1 dot hia dot nrc dot ca
2008-02-17 16:47 ` [Bug target/35193] [4.3 Regression] " danglin at gcc dot gnu dot org
2008-02-17 17:03 ` rguenth at gcc dot gnu dot org
2008-02-17 18:11 ` danglin at gcc dot gnu dot org
2008-02-18  3:01 ` danglin at gcc dot gnu dot org
2008-02-18 15:24 ` danglin at gcc dot gnu dot org
2008-02-19  4:29 ` [Bug middle-end/35193] " danglin at gcc dot gnu dot org
2008-03-03 16:22 ` [Bug middle-end/35193] [4.3/4.4 " rguenth at gcc dot gnu dot org
2008-03-14 17:11 ` rguenth at gcc dot gnu dot org
2008-06-06 15:04 ` rguenth at gcc dot gnu dot org
2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
2008-11-01 19:27 ` danglin at gcc dot gnu dot org
2009-01-24 10:23 ` [Bug middle-end/35193] [4.3 " rguenth at gcc dot gnu dot org
2009-08-04 12:38 ` rguenth at gcc dot gnu dot org
2010-05-22 18:21 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).