[ast-optimizer-branch] Define new simplification langhook [patch]

Neil Booth neil@daikokuya.demon.co.uk
Wed Jun 5 23:10:00 GMT 2002


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.



More information about the Gcc-patches mailing list