public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/34807]  New: SH4 ‘R0_REGS’ spill failure when using asm
@ 2008-01-16  9:20 chrbr at gcc dot gnu dot org
  2008-01-16  9:24 ` [Bug target/34807] " chrbr at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: chrbr at gcc dot gnu dot org @ 2008-01-16  9:20 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

Building the attached file (extracted and reduced from the uclibc) with
-O[1,2,3,s] -fPIC fails :

test.c: In function ‘_start’:
test.c:14: error: unable to find a register to spill in class ‘R0_REGS’
test.c:14: error: this is the insn:
(insn 16 28 17 0 (set (mem/c/i:SI (plus:SI (reg:SI 12 r12)
                (reg/f:SI 1 r1 [160])) [0 buf+0 S4 A32])
        (reg/v:SI 0 r0 [ __sc0 ])) 179 {movsi_ie} (insn_list:REG_DEP_TRUE 13
(insn_list:REG_DEP_TRUE 11 (nil)))
    (expr_list:REG_DEAD (reg/f:SI 1 r1 [160])
        (expr_list:REG_DEAD (reg/v:SI 0 r0 [ __sc0 ])
            (nil))))
test.c:14: internal compiler error: in spill_failure


-- 
           Summary: SH4 ‘R0_REGS’ spill failure when using asm
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: chrbr at gcc dot gnu dot org
        ReportedBy: chrbr at gcc dot gnu dot org
GCC target triplet: sh-superh-elf,sh4-linux


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


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

* [Bug target/34807] SH4 ‘R0_REGS’ spill failure when using asm
  2008-01-16  9:20 [Bug target/34807] New: SH4 ‘R0_REGS’ spill failure when using asm chrbr at gcc dot gnu dot org
@ 2008-01-16  9:24 ` chrbr at gcc dot gnu dot org
  2008-01-16 11:58 ` chrbr at gcc dot gnu dot org
  2008-01-19  0:57 ` kkojima at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: chrbr at gcc dot gnu dot org @ 2008-01-16  9:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from chrbr at gcc dot gnu dot org  2008-01-16 08:47 -------
Created an attachment (id=14945)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14945&action=view)
Test case

build with sh-superh-elf-gcc -O1 -fPIC test.c -S


-- 


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


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

* [Bug target/34807] SH4 ‘R0_REGS’ spill failure when using asm
  2008-01-16  9:20 [Bug target/34807] New: SH4 ‘R0_REGS’ spill failure when using asm chrbr at gcc dot gnu dot org
  2008-01-16  9:24 ` [Bug target/34807] " chrbr at gcc dot gnu dot org
@ 2008-01-16 11:58 ` chrbr at gcc dot gnu dot org
  2008-01-19  0:57 ` kkojima at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: chrbr at gcc dot gnu dot org @ 2008-01-16 11:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from chrbr at gcc dot gnu dot org  2008-01-16 11:15 -------
Created an attachment (id=14946)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14946&action=view)
fails with 4.2.2 and 4.3.0


-- 


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


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

* [Bug target/34807] SH4 ‘R0_REGS’ spill failure when using asm
  2008-01-16  9:20 [Bug target/34807] New: SH4 ‘R0_REGS’ spill failure when using asm chrbr at gcc dot gnu dot org
  2008-01-16  9:24 ` [Bug target/34807] " chrbr at gcc dot gnu dot org
  2008-01-16 11:58 ` chrbr at gcc dot gnu dot org
@ 2008-01-19  0:57 ` kkojima at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2008-01-19  0:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from kkojima at gcc dot gnu dot org  2008-01-19 00:50 -------


*** This bug has been marked as a duplicate of 34777 ***


-- 

kkojima at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2008-01-19  0:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-16  9:20 [Bug target/34807] New: SH4 ‘R0_REGS’ spill failure when using asm chrbr at gcc dot gnu dot org
2008-01-16  9:24 ` [Bug target/34807] " chrbr at gcc dot gnu dot org
2008-01-16 11:58 ` chrbr at gcc dot gnu dot org
2008-01-19  0:57 ` kkojima 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).