This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: PR16380: Fix dbra comparison bug
- From: Roger Sayle <roger at eyesopen dot com>
- To: Richard Sandiford <rsandifo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 6 Jul 2004 08:37:04 -0600 (MDT)
- Subject: Re: RFC: PR16380: Fix dbra comparison bug
On Tue, 6 Jul 2004, Richard Sandiford wrote:
>
> PR rtl-optimization/16380
> * loop.c (check_dbra_loop): Sink comparison instructions if they
> do something other than set cc0.
>
> testsuite/
> * gcc.c-torture/execute/20040706-1.c: New test.
This is OK for mainline. If there are no problems on mainline after
a week or so, I think this patch is suitable for 3.4.2 as it fixes a
regression from a previous GCC release. If the gcc-3_4-branch isn't
"open for all maintainers" next week, ask Mark about the backport.
Thanks,
Roger
--