This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix mark_constant_function
- To: John Wehle <john at feith dot com>
- Subject: Re: Patch to fix mark_constant_function
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 24 Oct 2000 16:36:02 -0700
- Cc: law at cygnus dot com, gcc-patches at gcc dot gnu dot org
- References: <200010242223.SAA05105@jwlab.FEITH.COM>
On Tue, Oct 24, 2000 at 06:23:24PM -0400, John Wehle wrote:
> * alias.c: Include basic-block.h.
> (loop_p): New function.
> (mark_constant_function): Use it.
> * Makefile.in (alias.o): Update dependencies.
Much better if you arrange for mark_constant_function
to use the loop tree we just discovered.
Best is if we'd kept track of which loops have known
bounds, but I guess that's harder to arrange at present.
r~