This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: recog.c apply_change_group ret zero if num_changes is 0.
- From: Richard Henderson <rth at redhat dot com>
- To: Graham Stott <graham dot stott at btinternet dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 16 Jul 2002 22:32:15 -0700
- Subject: Re: recog.c apply_change_group ret zero if num_changes is 0.
- References: <3D30753E.40003@btinternet.com>
On Sat, Jul 13, 2002 at 07:45:18PM +0100, Graham Stott wrote:
> I noticed that if apply_change_group is called and num_changes is zero
> then 1 is returned. I think it makes more sense to return 0 if no
> changes are outstanding.
Possibly, possibly not. It is true that all substitutions
were successful, which might be important to some pass that
may or may not remember whether or not it made changes while
determining if some (larger) change is possible.
What is this supposed to affect?
r~