This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: recog.c apply_change_group ret zero if num_changes is 0.


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]