[Bug target/21616] ICE: unable to find a register to spill in class `FLOAT_REGS'

2005-05-20 Thread guptan at hotmail dot com

--- Additional Comments From guptan at hotmail dot com  2005-05-20 17:43 
---
Alan, Andrew,

If any one of you have setup with gcc-4.0 handy, could you verify if this bug
exists there as well?

-- 


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


[Bug target/21616] [3.4 only] ICE: unable to find a register to spill in class `FLOAT_REGS'

2005-05-20 Thread guptan at hotmail dot com

--- Additional Comments From guptan at hotmail dot com  2005-05-21 00:28 
---
Thanks Andrew.

[17:00]  pinskia, yes I am trying to get an answer if PR21616 existed on
gcc-4.0 :)
[17:01]  it might be worked around by optimizing it better :)
[17:01]  I suspect its already fixed in rs6000.md, but dont want to go
over the whole setup thingie
[17:02]  let me try it
[17:02]  than I rather backport that from gcc-4.0
[17:05]  did you try the patch for PR 15286?
[17:07]  nope, lemme look
[17:08]  oh, that will not help
[17:08]  I know which bug this is, it has to do with ld not taking any
old offset but only aligned offsets
[17:08]  let me find that patch
[17:08] <-- rosalesa has quit ("Leaving")
[17:13]  oh ok, i m waiting
[17:14] --> jk- ([EMAIL PROTECTED]) has joined #ppc64
[17:14]  ngupta: the patch for PR 13674 is the one which really fixed
the problem I think
[17:15]  there is a workaround on the 3.4 branch for PR 13674 but it
looks like it does not work for this testcase :(
[17:16]  yup, thats what I was abt to try
[17:16]  -fnew-ra
[17:17]  in fact I think the work around is causing the ICE to show up,
it is trying to use FP register because that is what the work around says to use
[17:19]  so back to, could u try gcc-4.0
[17:20]  I did and it worked
[17:20]  I have started a build with this patch anyway
[17:20]  you might need to revert the work around though
[17:20]  oh ok, u mean patch for PR13674?
[17:21]  the one which is on the 3.4 branch yes
[17:22]  ok, got it
[17:22]  thx, will update the bug after testing it
[17:24]  2004-03-10  Alan Modra  <[EMAIL PROTECTED]>
[17:24]  Hartmut Penner  <[EMAIL PROTECTED]>
[17:25]  BTW, I will also CC dje/hpenner on this bug.
[17:25]  one from http://gcc.gnu.org/ml/gcc-cvs/2004-03/msg00482.html
by the way

-- 
   What|Removed |Added

 CC||hpenner at de dot ibm dot
   ||com, dje at gcc dot gnu dot
   ||org


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


[Bug target/21616] [3.4 only] ICE: unable to find a register to spill in class `FLOAT_REGS'

2005-05-24 Thread guptan at hotmail dot com

--- Additional Comments From guptan at hotmail dot com  2005-05-24 20:39 
---
Andrew,

I was able to strip the worksround mentioned in
http://gcc.gnu.org/ml/gcc-cvs/2004-03/msg00482.html and apply the patch at  PR
target/13674 to avoid this bug.

If its of interest, I can post a patch for gcc-3.4 . I need to do a little bit
of cleanup before that.

-- 


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