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]

Language hooks


> Richard Henderson wrote:-
> 
> > I'm not in favour of this as it stands.  We have a _lot_ more
> > language hooks than this.  If you're planning on moving them
> > all here, maybe.
> 
> Exactly, that's what I was proposing to do, but not all in that
> preliminary patch.  So should I
> 
> a) add yet another lang_post_options () function and put it in all
> front ends (ugly IMO),
> 
> b) go ahead with the patch, and then start putting other hooks in the
> lang_hooks structure, or
> 
> c) something else you prefer?
> 
> Thanks,
> 
> Neil.

Well I certainlywould like to have just one
language_provide_hooks call. Then I can fill in the hooks I want
to use and anyone can add hooks on the end without anyone having
to change their front ends. After this last change of course ;-)

Tim Josling

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