Fix subreg fallout in simplify_unary_operation()
Geoff Keating
geoffk@desire.geoffk.org
Mon Jan 12 03:59:00 GMT 2004
> From: Richard Sandiford <rsandifo@redhat.com>
> Date: Sat, 10 Jan 2004 12:47:17 +0000
> Geoff Keating <geoffk@geoffk.org> writes:
> > No, I don't like this; it complicates the interface of
> > simplify_unary_operation. Instead, have combine_simplify_rtx
> > compute the mode if it gets passed VOIDmode and is going to call
> > simplify_unary_operation.
>
> OK, patch below. Tested as before on mips64vrel-elf. OK to install?
This is OK.
> * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
> simplify_unary_operation if the operand has a known mode.
--
- Geoffrey Keating <geoffk@geoffk.org>
More information about the Gcc-patches
mailing list