This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] unreviewed patch (Bootstrap failure on ia64)
On Tue, May 20, 2003 at 10:21:20AM -0400, David Edelsohn wrote:
> Would someone please approve Roger Sayle's ia64 and PowerPC fix?
>
> http://gcc.gnu.org/ml/gcc-patches/2003-05/msg01674.html
I don't think his patch is correct. simplify_gen_binary aborts
because the mode is VOIDmode. I'm testing the following patch on
powerpc-unknown-linux-gnu, which fixes a number of the test suite
failures.
--
Matt Kraai <kraai@alumni.cmu.edu>
Debian GNU/Linux Peon
* builtins.c (expand_builtin_memcpy): Use mode of
dest_addr for intermediate computation.
*** builtins.c.~1.202.~ Sun May 18 15:54:36 2003
--- builtins.c Mon May 19 23:34:19 2003
***************
*** 2347,2353 ****
if (endp == 2)
{
! result = simplify_gen_binary (MINUS, GET_MODE (result),
result, const1_rtx);
result = force_operand (result, NULL_RTX);
}
--- 2347,2353 ----
if (endp == 2)
{
! result = simplify_gen_binary (MINUS, GET_MODE (dest_addr),
result, const1_rtx);
result = force_operand (result, NULL_RTX);
}