public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18251] New: unable to find a register to spill in class `POINTER_REGS'
@ 2004-10-31 12:51 ralf_corsepius at rtems dot org
  2004-10-31 12:53 ` [Bug target/18251] " ralf_corsepius at rtems dot org
                   ` (27 more replies)
  0 siblings, 28 replies; 40+ messages in thread
From: ralf_corsepius at rtems dot org @ 2004-10-31 12:51 UTC (permalink / raw)
  To: gcc-bugs

Compiling the file from the attachment with -Os or greater -O1 results into the
compiler producing this:

# avr-rtems4.7-gcc -mmcu=avr5  -Os -g -Wall -c -o termios.o termios.c
termios.c: In function `termios_open':
termios.c:97: error: unable to find a register to spill in class `POINTER_REGS'
termios.c:97: error: this is the insn:
(insn 66 63 120 3 termios.c:91 (parallel [
            (set (mem:BLK (reg/v/f:HI 28 r28 [orig:44 tty ] [44]) [0 A8])
                (mem:BLK (reg/v/f:HI 45 [ callbacks ]) [0 A8]))
            (use (reg:QI 24 r24 [55]))
            (use (const_int 1 [0x1]))
            (clobber (scratch:HI))
            (clobber (scratch:HI))
            (clobber (scratch:QI))
        ]) 16 {*movstrqi_insn} (insn_list 62 (insn_list 63 (nil)))
    (expr_list:REG_DEAD (reg:QI 24 r24 [55])
        (expr_list:REG_DEAD (reg/v/f:HI 45 [ callbacks ])
            (expr_list:REG_UNUSED (scratch:QI)
                (expr_list:REG_UNUSED (scratch:HI)
                    (expr_list:REG_UNUSED (scratch:HI)
                        (nil)))))))
termios.c:97: confused by earlier errors, bailing out

avr-rtems* basically is identical to the bare avr, so I'd expect this bug to be
reproducable with all avr-* GCC's

# avr-rtems4.7-gcc --version
avr-rtems4.7-gcc (GCC) 3.4.3 20041027 (prerelease)

-- 
           Summary: unable to find a register to spill in class
                    `POINTER_REGS'
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ralf_corsepius at rtems dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: avr*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18251


^ permalink raw reply	[flat|nested] 40+ messages in thread
[parent not found: <bug-18251-8160@http.gcc.gnu.org/bugzilla/>]
[parent not found: <bug-18251-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2021-11-05 23:18 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-31 12:51 [Bug target/18251] New: unable to find a register to spill in class `POINTER_REGS' ralf_corsepius at rtems dot org
2004-10-31 12:53 ` [Bug target/18251] " ralf_corsepius at rtems dot org
2004-10-31 12:54 ` ralf_corsepius at rtems dot org
2004-10-31 14:47 ` pinskia at gcc dot gnu dot org
2005-02-08 19:17 ` pinskia at gcc dot gnu dot org
2005-02-10  0:35 ` bjoern dot m dot haase at web dot de
2005-02-10  1:16 ` bjoern dot m dot haase at web dot de
2005-02-12 16:56 ` andrewhutchinson at cox dot net
2005-02-14  0:04 ` giovannibajo at libero dot it
2005-02-22 16:04 ` dieterbmeier at yahoo dot com
2005-02-22 17:13 ` andrewhutchinson at cox dot net
2005-02-22 17:25 ` ericw at evcohs dot com
2005-03-05  9:33 ` dieterbmeier at yahoo dot com
2005-03-10 20:50 ` joel at gcc dot gnu dot org
2005-03-10 21:30 ` ericw at evcohs dot com
2005-03-12 20:39 ` marekm at amelek dot gda dot pl
2005-03-12 21:20 ` andrewhutchinson at cox dot net
2005-03-13  0:31 ` marekm at amelek dot gda dot pl
2005-03-13  1:20 ` andrewhutchinson at cox dot net
2005-03-13  2:07 ` schlie at comcast dot net
2005-03-13  2:44 ` andrewhutchinson at cox dot net
2005-03-13  3:39 ` schlie at comcast dot net
2005-03-13  4:05 ` andrewhutchinson at cox dot net
2005-03-13  4:18 ` schlie at comcast dot net
2005-03-13 10:10 ` cvs-commit at gcc dot gnu dot org
2005-03-13 10:11 ` marekm at amelek dot gda dot pl
2005-03-19 15:45 ` cvs-commit at gcc dot gnu dot org
2005-03-19 15:46 ` cvs-commit at gcc dot gnu dot org
2005-04-22 16:10 ` eisvogel at seitics dot de
     [not found] <bug-18251-8160@http.gcc.gnu.org/bugzilla/>
2005-12-05 18:53 ` berndtrog at yahoo dot com
2007-04-29  6:00 ` j at uriah dot heep dot sax dot de
2007-05-02 13:07 ` ralf_corsepius at rtems dot org
2007-05-02 13:16 ` ralf_corsepius at rtems dot org
2007-05-30 20:55 ` eweddington at cso dot atmel dot com
2007-05-30 20:59 ` eweddington at cso dot atmel dot com
2007-08-29 10:01 ` sdepagnier at avidyne dot com
2007-08-29 18:06 ` eweddington at cso dot atmel dot com
2008-03-14 16:39 ` rguenth at gcc dot gnu dot org
     [not found] <bug-18251-4@http.gcc.gnu.org/bugzilla/>
2014-02-16 13:14 ` jackie.rosen at hushmail dot com
2021-11-05 23:18 ` timturnerc at yahoo dot com

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).