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: [ast-optimizer-branch] Define new simplification langhook [patch]


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.


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