[Bug target/30370] Build failure in libgcc2 powitf2 with ICE in gen_reg_rtx

2007-01-07 Thread rask at sygehus dot dk
--- Comment #7 from rask at sygehus dot dk 2007-01-07 14:07 --- I tried to build several versions to find out which ones work: GCC 4.0.3 works (dies later compiling newlib/libc/math/e_j0.c). GCC 4.1.0 unknown (fails to compile rs6000.c). GCC 4.1.1 works (dies later with bug 27075). GCC

[Bug target/30370] Build failure in libgcc2 powitf2 with ICE in gen_reg_rtx

2007-01-07 Thread rask at sygehus dot dk
--- Comment #8 from rask at sygehus dot dk 2007-01-07 14:16 --- Created an attachment (id=12869) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12869action=view) updated patch in testing Here's a new patch as discussed. The GCC 4.2 branch now manages to build libgcc2. I haven't

[Bug target/30370] Build failure in libgcc2 powitf2 with ICE in gen_reg_rtx

2007-01-07 Thread drow at gcc dot gnu dot org
--- Comment #9 from drow at gcc dot gnu dot org 2007-01-07 23:42 --- For mainline, I would suggest using configure to check whether -mlong-double-128 can be used, for targets where it would be used by the makefile fragments. That will handle multilibs properly, et cetera. Unless after

[Bug target/30370] Build failure in libgcc2 powitf2 with ICE in gen_reg_rtx

2007-01-06 Thread rask at sygehus dot dk
--- Comment #5 from rask at sygehus dot dk 2007-01-06 14:28 --- The condition in t-ppccomm is written just like the example in the GNU Make documentation (Conditionals that Test Flags), except for the missing parentheses. Indeed toplevel libgcc fixes this, revision 120505 doesn't have

Re: [Bug target/30370] Build failure in libgcc2 powitf2 with ICE in gen_reg_rtx

2007-01-06 Thread Joseph S. Myers
On Sat, 6 Jan 2007, rask at sygehus dot dk wrote: Like ifneq (,$(findstring gnu,$(target))) ifeq (,$(findstring gnuspe,$(target))) ... endif endif ? Yes, just like that. How about s/gnuspe/spe/ in case someone comes up with a powerpc-gnufubarspe target? Seems reasonable. -- Joseph

[Bug target/30370] Build failure in libgcc2 powitf2 with ICE in gen_reg_rtx

2007-01-06 Thread joseph at codesourcery dot com
--- Comment #6 from joseph at codesourcery dot com 2007-01-06 15:08 --- Subject: Re: Build failure in libgcc2 powitf2 with ICE in gen_reg_rtx On Sat, 6 Jan 2007, rask at sygehus dot dk wrote: Like ifneq (,$(findstring gnu,$(target))) ifeq (,$(findstring gnuspe,$(target))) ...

[Bug target/30370] Build failure in libgcc2 powitf2 with ICE in gen_reg_rtx

2007-01-05 Thread rask at sygehus dot dk
--- Comment #3 from rask at sygehus dot dk 2007-01-05 17:29 --- Created an attachment (id=12861) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12861action=view) patch in testing to fix typo The option -specs=ldblspecs is added by gcc/config/rs6000/t-ppccomm when compiling libgcc2

[Bug target/30370] Build failure in libgcc2 powitf2 with ICE in gen_reg_rtx

2007-01-05 Thread joseph at codesourcery dot com
--- Comment #4 from joseph at codesourcery dot com 2007-01-05 17:52 --- Subject: Re: Build failure in libgcc2 powitf2 with ICE in gen_reg_rtx On Fri, 5 Jan 2007, rask at sygehus dot dk wrote: The option -specs=ldblspecs is added by gcc/config/rs6000/t-ppccomm when compiling

[Bug target/30370] Build failure in libgcc2 powitf2 with ICE in gen_reg_rtx

2007-01-04 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-05 05:03 --- This whole SPE port is a mess and needs really a different target rather than being part of the rs6000 backend or a big rewrite (well both are big rewrites). -- pinskia at gcc dot gnu dot org changed: