This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure on powerpc-ibm-aix4.1.4.0 building libF77/r_sign.c
- To: ghazi at caip dot rutgers dot edu
- Subject: Re: Bootstrap failure on powerpc-ibm-aix4.1.4.0 building libF77/r_sign.c
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: Sat, 8 Jul 2000 05:35:19 -0700
- CC: gcc-bugs at gcc dot gnu dot org
- References: <200007081213.IAA28147@caip.rutgers.edu>
> Date: Sat, 8 Jul 2000 08:13:26 -0400 (EDT)
> From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
> @@ -1492,10 +1492,17 @@ rs6000_emit_move (dest, source, mode)
> if (! no_new_pseudos && GET_CODE (operands[0]) != REG)
> operands[1] = force_reg (mode, operands[1]);
>
> - if (mode == SFmode && ! TARGET_POWERPC && TARGET_HARD_FLOAT)
> + if (mode == SFmode && ! TARGET_POWERPC && TARGET_HARD_FLOAT
> + && GET_CODE (operands[0]) == MEM)
...
> A full bootstrap on my AIX4 box will take much longer but I so far I
> think your patch solves the problem and should be installed. Or I can
> install it if you want (just send me the ChangeLog line.) Thanks for
> the quick response and solution. :-)
OK. I have now tested this patch pretty extensively in a compiler
that is almost but not quite the same as gcc (of some months ago), and
it worked well there too.
If you could commit it, the ChangeLog entry is:
2000-07-07 Geoffrey Keating <geoffk@cygnus.com>
* config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
emitting aux_truncdfsf2.
I have some other stability patches (including the ones that inspired
me to create rs6000_emit_move in the first place) which should be
hitting the tree over the next weeks.
--
- Geoffrey Keating <geoffk@cygnus.com>