This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ast-optimizer-branch] Define new simplification langhook [patch]
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 6 Jun 2002 07:10:35 +0100
- Subject: Re: [ast-optimizer-branch] Define new simplification langhook [patch]
- References: <20020606040513.GA6232@tornado.toronto.redhat.com>
Diego Novillo wrote:-
> This patch introduces a new langhook for the simplifier and
> enables -ftree-ssa at optimization levels >= 1.
>
> I haven't dealt with langhooks much in the past. Could somebody
> take a look and tell me what's missing? Is there any
> documentation I should be updating for instance?
There is no documentation in .texi form, but I think you should
document the hook in a few lines in langhooks.h, stating what
it returns and what it is supposed to do.
Neil.