[Bug target/35664] unable to find a register to spill in class 'FP_REGS'

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #8 from ebotcazou at gcc dot gnu dot org  2010-09-22 08:31 
---
Subject: Bug 35664

Author: ebotcazou
Date: Wed Sep 22 08:31:14 2010
New Revision: 164512

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164512
Log:
PR target/35664
* config/sparc/constraints.md ('e'): Return NO_REGS if !TARGET_FPU.
('f'): Likewise.

Added:
trunk/gcc/testsuite/gcc.target/sparc/mnofpu.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sparc/constraints.md
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug target/35664] unable to find a register to spill in class 'FP_REGS'

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #9 from ebotcazou at gcc dot gnu dot org  2010-09-22 08:34 
---
Subject: Bug 35664

Author: ebotcazou
Date: Wed Sep 22 08:34:11 2010
New Revision: 164513

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164513
Log:
PR target/35664
* config/sparc/constraints.md ('e'): Return NO_REGS if !TARGET_FPU.
('f'): Likewise.

Added:
branches/gcc-4_5-branch/gcc/testsuite/gcc.target/sparc/mnofpu.c
  - copied unchanged from r164512,
trunk/gcc/testsuite/gcc.target/sparc/mnofpu.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/config/sparc/constraints.md
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


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



[Bug target/35664] unable to find a register to spill in class 'FP_REGS'

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #10 from ebotcazou at gcc dot gnu dot org  2010-09-22 08:37 
---
Subject: Bug 35664

Author: ebotcazou
Date: Wed Sep 22 08:36:35 2010
New Revision: 164514

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164514
Log:
PR target/35664
* config/sparc/constraints.md ('e'): Return NO_REGS if !TARGET_FPU.
('f'): Likewise.

Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.target/sparc/mnofpu.c
  - copied unchanged from r164513,
trunk/gcc/testsuite/gcc.target/sparc/mnofpu.c
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/config/sparc/constraints.md
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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



[Bug target/35664] unable to find a register to spill in class 'FP_REGS'

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #11 from ebotcazou at gcc dot gnu dot org  2010-09-22 08:40 
---
In 4.4.5 and up.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2010-
   ||09/msg01756.html
 Status|ASSIGNED|RESOLVED
  Known to fail|4.3.1 4.4.5 4.5.2   |4.3.1 4.4.4 4.5.2
 Resolution||FIXED
   Target Milestone|--- |4.4.5


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



[Bug target/35664] unable to find a register to spill in class 'FP_REGS' (sparc-linux)

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #7 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:14 
---
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-20 22:14:55
   date||


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



[Bug target/35664] unable to find a register to spill in class 'FP_REGS' (sparc-linux)

2010-09-09 Thread mikpe at it dot uu dot se


--- Comment #4 from mikpe at it dot uu dot se  2010-09-09 12:06 ---
This ICEs for me with 4.4-20100907 and the 4.5.1 release (-m32 -mno-fpu), but
not with 4.5-20100902 or 4.6-20100904.


-- 

mikpe at it dot uu dot se changed:

   What|Removed |Added

 CC||mikpe at it dot uu dot se


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



[Bug target/35664] unable to find a register to spill in class 'FP_REGS' (sparc-linux)

2010-09-09 Thread mikpe at it dot uu dot se


--- Comment #5 from mikpe at it dot uu dot se  2010-09-09 12:41 ---
(In reply to comment #4)
 This ICEs for me with 4.4-20100907 and the 4.5.1 release (-m32 -mno-fpu), but
 not with 4.5-20100902 or 4.6-20100904.

Oops, that was with a locally modified 4.5-20100902.  A vanilla 4.5-20100902
still ICEs.


-- 


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



[Bug target/35664] unable to find a register to spill in class 'FP_REGS' (sparc-linux)

2010-09-09 Thread mikpe at it dot uu dot se


--- Comment #6 from mikpe at it dot uu dot se  2010-09-09 15:57 ---
This ICE stopped to appear on trunk with r162019:
http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00373.html
http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00827.html

Applying the generic bits of that to current 4.5 stops the ICE there too.  I
can't say if r162019 is a genuine bug fix or merely improves things a bit so
that this test case no longer triggers the ICE.


-- 


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



[Bug target/35664] unable to find a register to spill in class 'FP_REGS' (sparc-linux)

2010-09-08 Thread lacombar at gmail dot com


--- Comment #3 from lacombar at gmail dot com  2010-09-09 04:34 ---
Some random config of the linux kernel, as of 2.6.36-rc3 results on the
following

stat.c: In function 'show_stat':
stat.c:123:1: error: unable to find a register to spill in class 'FP_REGS'
stat.c:123:1: error: this is the insn:
(insn 43 49 50 3 stat.c:43 (set (reg:DI 281 [ D.14392_45-cpustat.user ])
(mem/s:DI (plus:SI (reg:SI 25 %i1 [orig:500 __ptr ] [500])
(reg:SI 15 %o7 [orig:128 D.16865 ] [128])) [7
D.14392_45-cpustat.user+0 S8 A64])) 46 {*movdi_insn_sp32} (expr_list:REG_EQUIV
(mem/s:DI (plus:SI (reg:SI 25 %i1 [orig:500 __ptr ] [500])
(reg:SI 15 %o7 [orig:128 D.16865 ] [128])) [7
D.14392_45-cpustat.user+0 S8 A64])
(nil)))

the (already) attached testcase still fails with gcc 4.5.2.


-- 


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



[Bug target/35664] unable to find a register to spill in class 'FP_REGS' (sparc-linux)

2008-04-02 Thread mstein dot lists at googlemail dot com


--- Comment #2 from mstein dot lists at googlemail dot com  2008-04-02 
16:55 ---
Fails in trunk (133803) too


-- 

mstein dot lists at googlemail dot com changed:

   What|Removed |Added

 CC||davem at redhat dot com,
   ||jakub at redhat dot com


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



[Bug target/35664] unable to find a register to spill in class 'FP_REGS' (sparc-linux)

2008-03-22 Thread mstein dot lists at googlemail dot com


--- Comment #1 from mstein dot lists at googlemail dot com  2008-03-22 
16:30 ---
Created an attachment (id=15359)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15359action=view)
delta-reduced


-- 


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