This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][4.0] Wrong code when rotate is expanded
- From: Roger Sayle <roger at eyesopen dot com>
- To: Andreas Krebbel <krebbel1 at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 22 Sep 2005 07:54:32 -0600 (MDT)
- Subject: Re: [PATCH][4.0] Wrong code when rotate is expanded
On Thu, 22 Sep 2005, Andreas Krebbel wrote:
> 2005-09-22 Andreas Krebbel <krebbel1@de.ibm.com>
>
> * expmed.c (expand_shift): Don't use the target of the rotate as
> target for the first expanded shift insn.
> * testsuite/gcc.dg/20050922-1.c: Testcase added.
>
This is OK for mainline, and for 4.0.2 after the branch reopens.
Thanks,
Roger
--