This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix buglet in previous mechanical loop.c change
- From: Jeffrey A Law <law at redhat dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 15 Jul 2004 09:21:37 -0600
- Subject: Re: Fix buglet in previous mechanical loop.c change
- Organization: Red Hat, Inc
- References: <1089903300.5186.505.camel@speedy> <20040715151145.GA8105@nevyn.them.org>
- Reply-to: law at redhat dot com
On Thu, 2004-07-15 at 09:11, Daniel Jacobowitz wrote:
> On Thu, Jul 15, 2004 at 08:55:01AM -0600, Jeffrey A Law wrote:
> > The recent change to use various predicates instead of explicitly
> > testing for suitable rtx codes had a minor flaw. Consider this
[ ... ]
>
> This now accepts CALL_INSN, which it didn't used to. Was that a bug in
> the old code?
Acceping a CALL_INSN is conservatively correct. It won't have any
effect on the behavior of update_giv_derive except that unnecessary
work may be done.
Jeff